This patch fixes following compile error for the davinice_emac driver: $ make -s cam_enc_4xx Configuring for cam_enc_4xx board... Generating include/generated/asm-offsets.h davinci_emac.c: In function 'davinci_emac_initialize': davinci_emac.c:817:3: error: request for member 'name' in something not a structure or union make[2]: *** [davinci_emac.o] Fehler 1 make[1]: *** [drivers/net/libnet.o] Fehler 2 make: *** [cam_enc_4xx] Fehler 2 [hs@pollux u-boot]$
introduced through commit: 062fe7d332c28ede25626f448681e43d76bb312e Signed-off-by: Heiko Schocher <[email protected]> Cc: Manjunath Hadli <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Sandeep Paulraj <[email protected]> Cc: Ben Warren <[email protected]> --- 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 e864a41..fa31159 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -814,7 +814,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); -- 1.7.6.4 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

