[PATCH] net: Fix driver name for mdio-gpio.c

Subsystems: ethernet phy library, networking drivers, the rest

STALE5421d

2 messages, 2 authors, 2011-10-20 · open the first message on its own page

[PATCH] net: Fix driver name for mdio-gpio.c

From: Dirk Eibach <hidden>
Date: 2011-10-18 13:06:01

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 <redacted>
---
 drivers/net/phy/mdio-gpio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c
index f2d122f..3d66d9f 100644
--- a/drivers/net/phy/mdio-gpio.c
+++ b/drivers/net/phy/mdio-gpio.c
@@ -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,
 	},
-- 
1.5.6.5

Re: [PATCH] net: Fix driver name for mdio-gpio.c

From: David Miller <davem@davemloft.net>
Date: 2011-10-20 21:48:17

From: Dirk Eibach <redacted>
Date: Tue, 18 Oct 2011 15:04:11 +0200
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 <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help