summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-05-20 12:22:59 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:14 -0500
commite14826bc8d04235367e2e145b46a3d3f0bbeb86e (patch)
tree511e125858d3cbd942f724d3310705fa6dfc3c66 /drivers/usb
parent287e3ad488fcb73b44d81eea477f1b52f3145df2 (diff)
downloadu-boot-imx-e14826bc8d04235367e2e145b46a3d3f0bbeb86e.zip
u-boot-imx-e14826bc8d04235367e2e145b46a3d3f0bbeb86e.tar.gz
u-boot-imx-e14826bc8d04235367e2e145b46a3d3f0bbeb86e.tar.bz2
drivers/usb/eth/asix.c: Fix build warning
Fix: asix.c: In function 'asix_eth_get_info': asix.c:629:12: warning: assignment from incompatible pointer type Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/eth/asix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c
index 2f116c0..a3bf51a 100644
--- a/drivers/usb/eth/asix.c
+++ b/drivers/usb/eth/asix.c
@@ -419,7 +419,7 @@ out_err:
return -1;
}
-static int asix_send(struct eth_device *eth, volatile void *packet, int length)
+static int asix_send(struct eth_device *eth, void *packet, int length)
{
struct ueth_data *dev = (struct ueth_data *)eth->priv;
int err;