diff options
author | Anatolij Gustschin <agust@denx.de> | 2012-05-20 12:22:58 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-22 10:18:13 -0500 |
commit | 287e3ad488fcb73b44d81eea477f1b52f3145df2 (patch) | |
tree | c5f7cd6f5ccb25ae3a0fb7bff5990d7d00f0cda2 /arch/arm/cpu/ixp/npe | |
parent | 2f2c29ab3a5ea3e3133137d47e4d145cfd96db46 (diff) | |
download | u-boot-imx-287e3ad488fcb73b44d81eea477f1b52f3145df2.zip u-boot-imx-287e3ad488fcb73b44d81eea477f1b52f3145df2.tar.gz u-boot-imx-287e3ad488fcb73b44d81eea477f1b52f3145df2.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/cpu/ixp/npe')
-rw-r--r-- | arch/arm/cpu/ixp/npe/npe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/ixp/npe/npe.c b/arch/arm/cpu/ixp/npe/npe.c index f0e02bf..1fe3a95 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; |