aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-26 05:19:36 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-27 01:22:03 -0500
commit036b66879addb28ad7104ca975317528bfc79e47 (patch)
tree43d252429be65f32a2651302250fa80473a07356 /drivers/net/phy
parent6a64cd64c056d46b419bb07b02153b00df97a2c5 (diff)
mdio: fix non-constant printk warnings
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/mdio_bus.c2
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) {