From 7a10692a9cb3710cb8233b111f0fcf47b98e9b60 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Tue, 22 May 2012 18:09:55 +0000 Subject: 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 --- arch/powerpc/cpu/mpc8260/ether_scc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/powerpc/cpu') diff --git a/arch/powerpc/cpu/mpc8260/ether_scc.c b/arch/powerpc/cpu/mpc8260/ether_scc.c index 1c040f0..3c71219 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; -- cgit v1.1