]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ucc_geth_mii.c
e1000e: Increment version to 0.2.1
[linux-2.6-omap-h63xx.git] / 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);