X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fnet%2Ffec_mpc52xx_phy.c;h=f5634447276de067d18d85c386d3dbcf9baab618;hb=e945e849e18006c131fe59252ab920c6b5f7959c;hp=1d0cd1dd955e4d9bf60e012b89ec59bcb238bdc1;hpb=a49072bb367a94a9af6c6a6dcbaa1dc5617d7fa0;p=linux-2.6-omap-h63xx.git diff --git a/drivers/net/fec_mpc52xx_phy.c b/drivers/net/fec_mpc52xx_phy.c index 1d0cd1dd955..f5634447276 100644 --- a/drivers/net/fec_mpc52xx_phy.c +++ b/drivers/net/fec_mpc52xx_phy.c @@ -124,7 +124,7 @@ static int mpc52xx_fec_mdio_probe(struct of_device *of, const struct of_device_i goto out_free; } - bus->id = res.start; + snprintf(bus->id, MII_BUS_ID_SIZE, "%x", res.start); bus->priv = priv; bus->dev = dev;