From: Anatolij Gustschin Date: Mon, 21 May 2012 00:22:59 +0200 Subject: [U-Boot] [PATCH] drivers/usb/eth/asix.c: Fix build warning In-Reply-To: <1337552579-22222-1-git-send-email-agust@denx.de> References: <1337552579-22222-1-git-send-email-agust@denx.de> Message-ID: <1337552579-22222-5-git-send-email-agust@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fix: asix.c: In function 'asix_eth_get_info': asix.c:629:12: warning: assignment from incompatible pointer type Signed-off-by: Anatolij Gustschin --- drivers/usb/eth/asix.c | 2 +- 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; -- 1.7.1