]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arch/powerpc/cpu/mpc85xx/ether_fcc.c: Fix compile warning
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 07:56:12 +0000 (07:56 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 18:41:46 +0000 (13:41 -0500)
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@ni.com>
arch/powerpc/cpu/mpc85xx/ether_fcc.c

index 41c3c84ae5c5df95457fccea57f7fe4da4c22a58..7d372aaef6bad0435740a1a77c7324e887e55dfe 100644 (file)
@@ -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;