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 <agust@denx.de>
This commit is contained in:
Anatolij Gustschin 2012-05-20 12:22:58 +00:00 committed by Joe Hershberger
parent 2f2c29ab3a
commit 287e3ad488

View 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;