diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-11-01 13:15:55 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-11-03 22:56:23 +0100 |
commit | e0297a5599c0eab00910006b788f72058efb5b1e (patch) | |
tree | 5dfcd27ff85e2654eb870bf248a244ec9052d316 /drivers/net/davinci_emac.c | |
parent | 5e463a243aab3609892143302af4b9694df6acee (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 7dacb2368d6..a9004805dc5 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); |