From: Joe Hershberger Date: Tue, 22 May 2012 07:56:12 +0000 (+0000) Subject: arch/powerpc/cpu/mpc85xx/ether_fcc.c: Fix compile warning X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=412411cb2e6f5694b717d8ff574bcf61bfc476cf;p=u-boot.git arch/powerpc/cpu/mpc85xx/ether_fcc.c: Fix compile warning Fix this: ether_fcc.c: In function 'fec_initialize': ether_fcc.c:453:15: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger --- diff --git a/arch/powerpc/cpu/mpc85xx/ether_fcc.c b/arch/powerpc/cpu/mpc85xx/ether_fcc.c index 41c3c84ae5..7d372aaef6 100644 --- a/arch/powerpc/cpu/mpc85xx/ether_fcc.c +++ b/arch/powerpc/cpu/mpc85xx/ether_fcc.c @@ -138,7 +138,7 @@ static RTXBD rtx __attribute__ ((aligned(8))); #undef ET_DEBUG -static int fec_send(struct eth_device* dev, volatile void *packet, int length) +static int fec_send(struct eth_device *dev, void *packet, int length) { int i = 0; int result = 0;