From: Anatolij Gustschin Date: Sun, 20 May 2012 12:22:55 +0000 (+0000) Subject: drivers/net/smc911x.c: Fix GCC 4.6 warning X-Git-Tag: v2012.07-rc1~133 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fd89b61b81a84bc1bbac4289c9978b3469fb302b;p=u-boot drivers/net/smc911x.c: Fix GCC 4.6 warning smc911x.c: In function 'smc911x_initialize': smc911x.c:288:12: warning: assignment from incompatible pointer type [enabled by default] Signed-off-by: Anatolij Gustschin --- diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index e34b4879d0..b2aed7e14a 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -161,8 +161,7 @@ static int smc911x_init(struct eth_device *dev, bd_t * bd) return 0; } -static int smc911x_send(struct eth_device *dev, - volatile void *packet, int length) +static int smc911x_send(struct eth_device *dev, void *packet, int length) { u32 *data = (u32*)packet; u32 tmplen;