drivers/net/4xx_enet.c: Fix build warning
authorAnatolij Gustschin <agust@denx.de>
Mon, 21 May 2012 10:48:18 +0000 (10:48 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:14 +0000 (10:18 -0500)
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 <agust@denx.de>
Tested-by: Anatolij Gustschin <agust@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
drivers/net/4xx_enet.c

index 73700dd0dfb44a093517147b6febfb29a409edff..7c6e362f0ea3ead4dede1c212702b229f9086f4b 100644 (file)
@@ -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;