net: Fix driver name for mdio-gpio.c
authorDirk Eibach <eibach@gdsys.de>
Tue, 18 Oct 2011 03:04:11 +0000 (03:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2011 21:24:40 +0000 (17:24 -0400)
Since commit
"7488876... dt/net: Eliminate users of of_platform_{,un}register_driver"
there are two platform drivers named "mdio-gpio" registered.
I renamed the of variant to "mdio-ofgpio".

Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c

index 47c8339a03595cb645c672fc262b76db4bf6cffb..2843c90f712f40c27c0688cb336dc87dbede054e 100644 (file)
@@ -241,7 +241,7 @@ MODULE_DEVICE_TABLE(of, mdio_ofgpio_match);
 
 static struct platform_driver mdio_ofgpio_driver = {
        .driver = {
-               .name = "mdio-gpio",
+               .name = "mdio-ofgpio",
                .owner = THIS_MODULE,
                .of_match_table = mdio_ofgpio_match,
        },