diff options
Diffstat (limited to 'drivers/net/phy/mdio_bus.c')
-rw-r--r-- | drivers/net/phy/mdio_bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index bb29ae3ff17d..b754020cbe75 100644 --- a/drivers/net/phy/mdio_bus.c +++ b/drivers/net/phy/mdio_bus.c | |||
@@ -99,7 +99,7 @@ int mdiobus_register(struct mii_bus *bus) | |||
99 | bus->dev.parent = bus->parent; | 99 | bus->dev.parent = bus->parent; |
100 | bus->dev.class = &mdio_bus_class; | 100 | bus->dev.class = &mdio_bus_class; |
101 | bus->dev.groups = NULL; | 101 | bus->dev.groups = NULL; |
102 | dev_set_name(&bus->dev, bus->id); | 102 | dev_set_name(&bus->dev, "%s", bus->id); |
103 | 103 | ||
104 | err = device_register(&bus->dev); | 104 | err = device_register(&bus->dev); |
105 | if (err) { | 105 | if (err) { |