From: Anatolij Gustschin Date: Sun, 20 May 2012 12:22:59 +0000 (+0000) Subject: drivers/usb/eth/asix.c: Fix build warning X-Git-Tag: v2012.07-rc1~129 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e14826bc8d04235367e2e145b46a3d3f0bbeb86e;p=u-boot 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 --- diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 2f116c0cb6..a3bf51a64d 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;