From: Joe Hershberger Date: Tue, 22 May 2012 18:09:55 +0000 (+0000) Subject: arch/powerpc/cpu/mpc8260/ether_scc.c: Fix compile warning X-Git-Tag: v2012.07-rc1~92 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7a10692a9cb3710cb8233b111f0fcf47b98e9b60;p=u-boot arch/powerpc/cpu/mpc8260/ether_scc.c: Fix compile warning Fix this: ether_scc.c: In function 'mpc82xx_scc_enet_initialize': ether_scc.c:377:14: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger --- diff --git a/arch/powerpc/cpu/mpc8260/ether_scc.c b/arch/powerpc/cpu/mpc8260/ether_scc.c index 1c040f0f5b..3c71219575 100644 --- a/arch/powerpc/cpu/mpc8260/ether_scc.c +++ b/arch/powerpc/cpu/mpc8260/ether_scc.c @@ -105,7 +105,7 @@ typedef volatile struct CommonBufferDescriptor { static RTXBD *rtx; -static int sec_send(struct eth_device *dev, volatile void *packet, int length) +static int sec_send(struct eth_device *dev, void *packet, int length) { int i; int result = 0;