summaryrefslogtreecommitdiff
path: root/drivers/net/davinci_emac.c
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2011-11-01 13:15:55 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:23 +0100
commite0297a5599c0eab00910006b788f72058efb5b1e (patch)
tree5dfcd27ff85e2654eb870bf248a244ec9052d316 /drivers/net/davinci_emac.c
parent5e463a243aab3609892143302af4b9694df6acee (diff)
downloadu-boot-imx-e0297a5599c0eab00910006b788f72058efb5b1e.zip
u-boot-imx-e0297a5599c0eab00910006b788f72058efb5b1e.tar.gz
u-boot-imx-e0297a5599c0eab00910006b788f72058efb5b1e.tar.bz2
davinci_emac: compilation fix, phy is array now
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>
Diffstat (limited to 'drivers/net/davinci_emac.c')
-rw-r--r--drivers/net/davinci_emac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 7dacb23..a900480 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);