summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 14:45:23 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:15 -0500
commit7f9a8a673bfcd806c1e7c55527b46ec825a8d447 (patch)
treee0d1fd923ff34985c71a3f4e25eb58c8814845d2 /drivers
parent6636c701a07198d1640af35b92cfbd143ad0302b (diff)
downloadu-boot-imx-7f9a8a673bfcd806c1e7c55527b46ec825a8d447.zip
u-boot-imx-7f9a8a673bfcd806c1e7c55527b46ec825a8d447.tar.gz
u-boot-imx-7f9a8a673bfcd806c1e7c55527b46ec825a8d447.tar.bz2
drivers/net/dm9000x.c: Fix compile warning
Fix this: dm9000x.c: In function 'dm9000_initialize': dm9000x.c:636:12: 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/dm9000x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c
index 0424110..f0c4499 100644
--- a/drivers/net/dm9000x.c
+++ b/drivers/net/dm9000x.c
@@ -406,8 +406,7 @@ static int dm9000_init(struct eth_device *dev, bd_t *bd)
Hardware start transmission.
Send a packet to media from the upper layer.
*/
-static int dm9000_send(struct eth_device *netdev, volatile void *packet,
- int length)
+static int dm9000_send(struct eth_device *netdev, void *packet, int length)
{
int tmo;
struct board_info *db = &dm9000_info;