X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fnet%2Ffec_mpc52xx.c;h=e5e6352556fa5391b4c0223a0fc949343e563526;hb=36d99df2fb474222ab47fbe8ae7385661033223b;hp=fe59c27c09e3897c92da655abbd22ce1b06b9193;hpb=533bb8a4d7388686243c37a414c4448ba3566f8a;p=linux-2.6-omap-h63xx.git diff --git a/drivers/net/fec_mpc52xx.c b/drivers/net/fec_mpc52xx.c index fe59c27c09e..e5e6352556f 100644 --- a/drivers/net/fec_mpc52xx.c +++ b/drivers/net/fec_mpc52xx.c @@ -198,7 +198,7 @@ static int mpc52xx_fec_init_phy(struct net_device *dev) struct phy_device *phydev; char phy_id[BUS_ID_SIZE]; - snprintf(phy_id, BUS_ID_SIZE, PHY_ID_FMT, + snprintf(phy_id, BUS_ID_SIZE, "%x:%02x", (unsigned int)dev->base_addr, priv->phy_addr); priv->link = PHY_DOWN;