diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2009-03-23 18:16:34 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-29 00:12:00 +0100 |
commit | fd88d91a639ce41b825c8d50dc2182050e98fe53 (patch) | |
tree | c3da3e84b688527f7ba4f53d403f27e7d5f3969f /drivers/net | |
parent | d2567be915036720693f3ddd00c39b5b4d86fb8d (diff) | |
download | u-boot-fd88d91a639ce41b825c8d50dc2182050e98fe53.tar.gz u-boot-fd88d91a639ce41b825c8d50dc2182050e98fe53.tar.xz u-boot-fd88d91a639ce41b825c8d50dc2182050e98fe53.zip |
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 <ladis@linux-mips.org>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/cs8900.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |