projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f2c29a
)
arch/arm/cpu/ixp/npe/npe.c: Fix build warning
author
Anatolij Gustschin
<agust@denx.de>
Sun, 20 May 2012 12:22:58 +0000
(12:22 +0000)
committer
Joe 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
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/ixp/npe/npe.c
b/arch/arm/cpu/ixp/npe/npe.c
index f0e02bf7d92e5d280074f69d5534e8f174b30212..1fe3a95eaf2944c76f1a5a4330f494c2241f0401 100644
(file)
--- 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, vo
latile vo
id *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;