X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fucc_geth.c;h=29a4d650e8a8efcc1057ebad77746928a5f08157;hb=e1c25dc638db01600069b3f9167d1b35f8d574b5;hp=0ee4c168e4c0ce00596a74599c5d8f408b386e67;hpb=1018cf9b0f27646c37a52a079989dc0552b2451c;p=linux-2.6 diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 0ee4c168e4..29a4d650e8 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c @@ -3954,7 +3954,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma if (err) return -1; - ug_info->mdio_bus = res.start; + snprintf(ug_info->mdio_bus, MII_BUS_ID_SIZE, "%x", res.start); } /* get the phy interface type, or default to MII */