From: Ilya Yanok Date: Tue, 1 Nov 2011 13:15:55 +0000 (+0000) Subject: davinci_emac: compilation fix, phy is array now X-Git-Tag: v2011.12-rc1~228^2~52 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0297a5599c0eab00910006b788f72058efb5b1e;p=u-boot davinci_emac: compilation fix, phy is array now Fix compilation issues introduced by recent multiply PHY patch. Signed-off-by: Ilya Yanok Signed-off-by: Sandeep Paulraj --- diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 7dacb2368d..a9004805dc 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -809,7 +809,7 @@ int davinci_emac_initialize(void) phy[i].auto_negotiate = gen_auto_negotiate; } - debug("Ethernet PHY: %s\n", phy.name); + debug("Ethernet PHY: %s\n", phy[i].name); miiphy_register(phy[i].name, davinci_mii_phy_read, davinci_mii_phy_write);