提交 fd88d91a 编写于 作者: L Ladislav Michl 提交者: Wolfgang Denk

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: NLadislav Michl <ladis@linux-mips.org>
Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
上级 d2567be9
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册