]> err.no Git - linux-2.6/blobdiff - drivers/net/ucc_geth_mii.c
Merge branch 'upstream-davem' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
[linux-2.6] / drivers / net / ucc_geth_mii.c
index c69e654d539fcaae8df42cd7065af9e857c8d292..e4d3f330bac341941023a7131bb2c0e39dc86f24 100644 (file)
@@ -157,7 +157,7 @@ static int uec_mdio_probe(struct of_device *ofdev, const struct of_device_id *ma
        if (err)
                goto reg_map_fail;
 
-       new_bus->id = res.start;
+       snprintf(new_bus->id, MII_BUS_ID_SIZE, "%x", res.start);
 
        new_bus->irq = kmalloc(32 * sizeof(int), GFP_KERNEL);