]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
cs8900 compile fix
authorLadislav Michl <ladis@linux-mips.org>
Mon, 23 Mar 2009 17:16:34 +0000 (18:16 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 28 Mar 2009 23:12:00 +0000 (00:12 +0100)
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>
drivers/net/cs8900.c

index 0557fcdcb2c6a7aae930b7ed660d06bb15771cd2..5e2b3b080d00924c1e9253a097588772db7a971d 100644 (file)
@@ -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) {