diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-01-09 18:59:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-10 19:35:02 -0500 |
commit | a77e929a24ccf5a8545266a0c247e5ae862f13ba (patch) | |
tree | 00b8be4c9f5e4d779cbfa1f071ee7728063b6029 /drivers/net/phy/mdio-gpio.c | |
parent | 9e6c643bb4502c50b6511206601b7760c610dfcc (diff) |
mdio-gpio: use an unique MDIO bus name.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-gpio.c')
-rw-r--r-- | 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 89c5a3eccc12..50e8e5e74465 100644 --- a/drivers/net/phy/mdio-gpio.c +++ b/drivers/net/phy/mdio-gpio.c | |||
@@ -116,7 +116,7 @@ static struct mii_bus * __devinit mdio_gpio_bus_init(struct device *dev, | |||
116 | if (!new_bus->irq[i]) | 116 | if (!new_bus->irq[i]) |
117 | new_bus->irq[i] = PHY_POLL; | 117 | new_bus->irq[i] = PHY_POLL; |
118 | 118 | ||
119 | snprintf(new_bus->id, MII_BUS_ID_SIZE, "%x", bus_id); | 119 | snprintf(new_bus->id, MII_BUS_ID_SIZE, "gpio-%x", bus_id); |
120 | 120 | ||
121 | if (gpio_request(bitbang->mdc, "mdc")) | 121 | if (gpio_request(bitbang->mdc, "mdc")) |
122 | goto out_free_bus; | 122 | goto out_free_bus; |