From: Ladislav Michl Date: Mon, 23 Mar 2009 17:16:34 +0000 (+0100) Subject: cs8900 compile fix X-Git-Tag: v2009.06-rc1~124 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fd88d91a639ce41b825c8d50dc2182050e98fe53;p=u-boot cs8900 compile fix cs8900.c: In function 'eth_init': cs8900.c:164: warning: passing argument 2 of 'eth_getenv_enetaddr' from incompatible pointer type cs8900.c:165: error: invalid operands to binary << cs8900.c:166: error: invalid operands to binary << cs8900.c:167: error: invalid operands to binary << Signed-off-by: Ladislav Michl Acked-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c index 0557fcdcb2..5e2b3b080d 100644 --- a/drivers/net/cs8900.c +++ b/drivers/net/cs8900.c @@ -151,7 +151,7 @@ void eth_halt (void) int eth_init (bd_t * bd) { - uchar *enetaddr[6]; + uchar enetaddr[6]; /* verify chip id */ if (get_reg_init_bus (PP_ChipID) != 0x630e) {