summaryrefslogtreecommitdiff
path: root/drivers/usb/eth
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-05-20 12:22:56 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:13 -0500
commit92ec210d310992de553db8077118ad66037feb80 (patch)
treed57b74e1dad0711d665683d95ef8e3b7f9d51eec /drivers/usb/eth
parentfd89b61b81a84bc1bbac4289c9978b3469fb302b (diff)
downloadu-boot-imx-92ec210d310992de553db8077118ad66037feb80.zip
u-boot-imx-92ec210d310992de553db8077118ad66037feb80.tar.gz
u-boot-imx-92ec210d310992de553db8077118ad66037feb80.tar.bz2
drivers/usb/eth/smsc95xx.c: Fix GCC 4.6 warning
Fix: smsc95xx.c: In function 'smsc95xx_eth_get_info': smsc95xx.c:869:12: warning: assignment from incompatible pointer type [enabled by default] Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/usb/eth')
-rw-r--r--drivers/usb/eth/smsc95xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c
index 2f63340..c7aebea 100644
--- a/drivers/usb/eth/smsc95xx.c
+++ b/drivers/usb/eth/smsc95xx.c
@@ -657,8 +657,7 @@ static int smsc95xx_init(struct eth_device *eth, bd_t *bd)
return 0;
}
-static int smsc95xx_send(struct eth_device *eth, volatile void* packet,
- int length)
+static int smsc95xx_send(struct eth_device *eth, void* packet, int length)
{
struct ueth_data *dev = (struct ueth_data *)eth->priv;
int err;