]> git.sur5r.net Git - u-boot/commitdiff
davinci_emac: compilation fix, phy is array now
authorIlya Yanok <yanok@emcraft.com>
Tue, 1 Nov 2011 13:15:55 +0000 (13:15 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:23 +0000 (22:56 +0100)
Fix compilation issues introduced by recent multiply PHY patch.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
drivers/net/davinci_emac.c

index 7dacb2368d64d2b90fd140ed1db9844efabad9bc..a9004805dc53a110386f4c55a78f8b4b95db1d89 100644 (file)
@@ -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);