From: Joe Hershberger Date: Mon, 21 May 2012 14:45:27 +0000 (+0000) Subject: drivers/net/fec_mxc.c: Fix compile warning X-Git-Tag: v2012.07-rc1~114 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=442dac4c7fd97be2ec78a68c11e664cc196e68e2;p=u-boot drivers/net/fec_mxc.c: Fix compile warning Fix this: fec_mxc.c: In function 'fec_probe': fec_mxc.c:926:13: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 156fa8f916..eee41d7c8b 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -687,7 +687,7 @@ static void fec_halt(struct eth_device *dev) * @param[in] length Data count in bytes * @return 0 on success */ -static int fec_send(struct eth_device *dev, volatile void *packet, int length) +static int fec_send(struct eth_device *dev, void *packet, int length) { unsigned int status; uint32_t size;