mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
d2567be915
commit
fd88d91a63
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue