]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/net/calxedaxgmac.c: Fix compile warning
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 21 May 2012 14:45:20 +0000 (14:45 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:15 +0000 (10:18 -0500)
commit4ec45248929d9a81ee4c800b02da454f11326dff
treececedd639856b837b69b9c88ff352ece7063b4c0
parent9577501c6854de9356d8a0fc05e8d29d63a517e2
drivers/net/calxedaxgmac.c: Fix compile warning

Fix this:
calxedaxgmac.c: In function 'xgmac_rx':
calxedaxgmac.c:479:2: warning: passing argument 1 of 'NetReceive' discards qualifiers from pointer target type
include/net.h:438:13: note: expected 'uchar *' but argument is of type 'volatile unsigned char *'
calxedaxgmac.c: In function 'calxedaxgmac_initialize':
calxedaxgmac.c:547:12: warning: assignment from incompatible pointer type

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
drivers/net/calxedaxgmac.c