]> err.no Git - linux-2.6/blobdiff - drivers/net/fec_mpc52xx_phy.c
3c59x: use netdev_alloc_skb
[linux-2.6] / drivers / net / fec_mpc52xx_phy.c
index 1d0cd1dd955e4d9bf60e012b89ec59bcb238bdc1..f5634447276de067d18d85c386d3dbcf9baab618 100644 (file)
@@ -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;