]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
drivers/usb/eth/asix.c: Fix build warning
authorAnatolij Gustschin <agust@denx.de>
Sun, 20 May 2012 12:22:59 +0000 (12:22 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:14 +0000 (10:18 -0500)
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>
drivers/usb/eth/asix.c

index 2f116c0cb61fd18af28530bbc256037c69e7a60c..a3bf51a64d71e3fdea918b5438a785e6b6c833ca 100644 (file)
@@ -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;