From: Anatolij Gustschin Date: Sun, 20 May 2012 12:22:58 +0000 (+0000) Subject: arch/arm/cpu/ixp/npe/npe.c: Fix build warning X-Git-Tag: v2012.07-rc1~130 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=287e3ad488fcb73b44d81eea477f1b52f3145df2;p=oweals%2Fu-boot.git arch/arm/cpu/ixp/npe/npe.c: Fix build warning Fix: npe.c: In function 'npe_initialize': npe.c:630:13: warning: assignment from incompatible pointer type Signed-off-by: Anatolij Gustschin --- diff --git a/arch/arm/cpu/ixp/npe/npe.c b/arch/arm/cpu/ixp/npe/npe.c index f0e02bf7d9..1fe3a95eaf 100644 --- a/arch/arm/cpu/ixp/npe/npe.c +++ b/arch/arm/cpu/ixp/npe/npe.c @@ -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;