From: Anatolij Gustschin Date: Mon, 21 May 2012 10:48:18 +0000 (+0000) Subject: drivers/net/4xx_enet.c: Fix build warning X-Git-Tag: v2012.07-rc1~124 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f9eb617cb452ae5edf80ee842c6d309a451c4b5;p=u-boot drivers/net/4xx_enet.c: Fix build warning Fix: 4xx_enet.c: In function 'ppc_4xx_eth_initialize': 4xx_enet.c:2029: warning: assignment from incompatible pointer type Tested on sequoia board. Signed-off-by: Anatolij Gustschin Tested-by: Anatolij Gustschin Cc: Joe Hershberger --- diff --git a/drivers/net/4xx_enet.c b/drivers/net/4xx_enet.c index 73700dd0df..7c6e362f0e 100644 --- a/drivers/net/4xx_enet.c +++ b/drivers/net/4xx_enet.c @@ -1557,8 +1557,7 @@ get_speed: } -static int ppc_4xx_eth_send (struct eth_device *dev, volatile void *ptr, - int len) +static int ppc_4xx_eth_send(struct eth_device *dev, void *ptr, int len) { struct enet_frame *ef_ptr; ulong time_start, time_now;