diff mbox

[U-Boot] arch/arm/cpu/ixp/npe/npe.c: Fix build warning

Message ID 1337552579-22222-4-git-send-email-agust@denx.de
State Accepted
Commit 287e3ad488fcb73b44d81eea477f1b52f3145df2
Delegated to: Joe Hershberger
Headers show

Commit Message

Anatolij Gustschin May 20, 2012, 10:22 p.m. UTC
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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Joe Hershberger May 21, 2012, 8:46 p.m. UTC | #1
On Sun, May 20, 2012 at 5:22 PM, Anatolij Gustschin <agust@denx.de> wrote:
> 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>

Applied, thanks.

-Joe
diff mbox

Patch

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;