Skip to content

Commit

Permalink
ixp4xx-eth: use an unique MDIO bus name.
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Jan 11, 2012
1 parent 5a05a82 commit 0869b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/xscale/ixp4xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ static int ixp4xx_mdio_register(void)
mdio_bus->name = "IXP4xx MII Bus";
mdio_bus->read = &ixp4xx_mdio_read;
mdio_bus->write = &ixp4xx_mdio_write;
strcpy(mdio_bus->id, "0");
snprintf(mdio_bus->id, MII_BUS_ID_SIZE, "ixp4xx-eth-0");

if ((err = mdiobus_register(mdio_bus)))
mdiobus_free(mdio_bus);
Expand Down

0 comments on commit 0869b3a

Please sign in to comment.