summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-05-21 10:48:18 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:14 -0500
commit3f9eb617cb452ae5edf80ee842c6d309a451c4b5 (patch)
tree23b11f354387fc03b4d277fe06c6bacc89f5a3fc /drivers
parentbbcdefb343037cbcf3486c29fd29c4319761eab6 (diff)
downloadu-boot-imx-3f9eb617cb452ae5edf80ee842c6d309a451c4b5.zip
u-boot-imx-3f9eb617cb452ae5edf80ee842c6d309a451c4b5.tar.gz
u-boot-imx-3f9eb617cb452ae5edf80ee842c6d309a451c4b5.tar.bz2
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 <agust@denx.de> Tested-by: Anatolij Gustschin <agust@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/4xx_enet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/4xx_enet.c b/drivers/net/4xx_enet.c
index 73700dd..7c6e362 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;