From: Ilya Yanok Date: Tue, 1 Nov 2011 13:15:55 +0000 (+0000) Subject: davinci_emac: compilation fix, phy is array now X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e0297a5599c0eab00910006b788f72058efb5b1e;p=u-boot.git 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);