summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 05:54:01 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:14 -0500
commitbbcdefb343037cbcf3486c29fd29c4319761eab6 (patch)
treece9da0427c62fd5aec2a41208c3bf3145c07ab43 /drivers/net
parentc8a60b5326cd322df5874badc8a6e37a601bdc37 (diff)
downloadu-boot-imx-bbcdefb343037cbcf3486c29fd29c4319761eab6.zip
u-boot-imx-bbcdefb343037cbcf3486c29fd29c4319761eab6.tar.gz
u-boot-imx-bbcdefb343037cbcf3486c29fd29c4319761eab6.tar.bz2
davinci: Fix Ethernet driver interface warning
Fixes: davinci_emac.c: In function 'davinci_emac_initialize': davinci_emac.c:796:12: warning: assignment from incompatible pointer type [enabled by default] Tested on da850_am18xxevm Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/davinci_emac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index fbd0f1b..e471d2c 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -637,7 +637,7 @@ static int tx_send_loop = 0;
* positive number (number of bytes transmitted) or negative for error
*/
static int davinci_eth_send_packet (struct eth_device *dev,
- volatile void *packet, int length)
+ void *packet, int length)
{
int ret_status = -1;
int index;