]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arch/arm/cpu/ixp/npe/npe.c: Fix build warning
authorAnatolij Gustschin <agust@denx.de>
Sun, 20 May 2012 12:22:58 +0000 (12:22 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:13 +0000 (10:18 -0500)
Fix:
npe.c: In function 'npe_initialize':
npe.c:630:13: warning: assignment from incompatible pointer type

Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/arm/cpu/ixp/npe/npe.c

index f0e02bf7d92e5d280074f69d5534e8f174b30212..1fe3a95eaf2944c76f1a5a4330f494c2241f0401 100644 (file)
@@ -518,7 +518,7 @@ static void npe_halt(struct eth_device *dev)
 }
 
 
-static int npe_send(struct eth_device *dev, volatile void *packet, int len)
+static int npe_send(struct eth_device *dev, void *packet, int len)
 {
        struct npe *p_npe = (struct npe *)dev->priv;
        u8 *dest;