summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 14:45:24 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:15 -0500
commit6e758ef56eb82200604a5e89509b66c6590c00ce (patch)
tree4507af3dba0206554fe17e0ef785ba1f2a056ef7 /drivers
parent7f9a8a673bfcd806c1e7c55527b46ec825a8d447 (diff)
downloadu-boot-6e758ef56eb82200604a5e89509b66c6590c00ce.tar.gz
u-boot-6e758ef56eb82200604a5e89509b66c6590c00ce.tar.xz
u-boot-6e758ef56eb82200604a5e89509b66c6590c00ce.zip
drivers/net/dnet.c: Fix compile warning
Fix this: dnet.c: In function 'dnet_eth_initialize': dnet.c:380:15: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/dnet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c
index 15d0a6e741..944a0c046f 100644
--- a/drivers/net/dnet.c
+++ b/drivers/net/dnet.c
@@ -130,8 +130,7 @@ static u16 dnet_mdio_read(struct dnet_device *dnet, u8 reg)
return value;
}
-static int dnet_send(struct eth_device *netdev, volatile void *packet,
- int length)
+static int dnet_send(struct eth_device *netdev, void *packet, int length)
{
struct dnet_device *dnet = to_dnet(netdev);
int i, wrsz;