MPC8xx: fix "Remove volatile from net API" aftermath
authorWolfgang Denk <wd@denx.de>
Sun, 20 May 2012 21:14:54 +0000 (21:14 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:14 +0000 (10:18 -0500)
commit1b10d0717a381ebf263e44488107dce40f75f4fb
treed79926904ed46eb413e2eeddf43385d16ebaa2b3
parente14826bc8d04235367e2e145b46a3d3f0bbeb86e
MPC8xx: fix "Remove volatile from net API" aftermath

Commit db288a9 "net: Remove volatile from net API" caused a number of
build warnings:
fec.c: In function 'fec_initialize':
fec.c:183:13: warning: assignment from incompatible pointer type [enabled by default]
fec.c: In function 'fec_recv':
fec.c:284:5: warning: passing argument 1 of 'NetReceive' discards 'volatile' qualifier from pointer target type [enabled by default]
/home/wd/git/u-boot/work/include/net.h:433:13: note: expected 'uchar *' but argument is of type 'volatile uchar *'
scc.c: In function 'scc_initialize':
scc.c:85:14: warning: assignment from incompatible pointer type [enabled by default]

Fix these.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
arch/powerpc/cpu/mpc8xx/fec.c
arch/powerpc/cpu/mpc8xx/scc.c