]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/ucc_geth.c
fb: Reduce priority of resource conflict message
[karo-tx-linux.git] / drivers / net / ucc_geth.c
index 715e7b47e7e987ff47c502c229686911cae17bc5..ef041057d9d35c201e8c8cf830deecde0b1d8613 100644 (file)
@@ -3740,7 +3740,7 @@ static const struct net_device_ops ucc_geth_netdev_ops = {
 #endif
 };
 
-static int ucc_geth_probe(struct platform_device* ofdev, const struct of_device_id *match)
+static int ucc_geth_probe(struct platform_device* ofdev)
 {
        struct device *device = &ofdev->dev;
        struct device_node *np = ofdev->dev.of_node;
@@ -3986,7 +3986,7 @@ static struct of_device_id ucc_geth_match[] = {
 
 MODULE_DEVICE_TABLE(of, ucc_geth_match);
 
-static struct of_platform_driver ucc_geth_driver = {
+static struct platform_driver ucc_geth_driver = {
        .driver = {
                .name = DRV_NAME,
                .owner = THIS_MODULE,
@@ -4008,14 +4008,14 @@ static int __init ucc_geth_init(void)
                memcpy(&(ugeth_info[i]), &ugeth_primary_info,
                       sizeof(ugeth_primary_info));
 
-       ret = of_register_platform_driver(&ucc_geth_driver);
+       ret = platform_driver_register(&ucc_geth_driver);
 
        return ret;
 }
 
 static void __exit ucc_geth_exit(void)
 {
-       of_unregister_platform_driver(&ucc_geth_driver);
+       platform_driver_unregister(&ucc_geth_driver);
 }
 
 module_init(ucc_geth_init);