[U-Boot] [PATCH] arch/powerpc/cpu/mpc85xx/ether_fcc.c: Fix compile warning
Joe Hershberger
joe.hershberger at ni.com
Tue May 22 19:56:12 CEST 2012
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 <joe.hershberger at ni.com>
---
arch/powerpc/cpu/mpc85xx/ether_fcc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/cpu/mpc85xx/ether_fcc.c b/arch/powerpc/cpu/mpc85xx/ether_fcc.c
index 41c3c84..7d372aa 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;
--
1.6.0.2
More information about the U-Boot
mailing list