summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 14:45:28 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:16 -0500
commit99ec7728072e01586492a289b2ae9d3cfab2f76c (patch)
treed0886440bde6e6ca5c91645139605f1d717fd557 /drivers/net
parent442dac4c7fd97be2ec78a68c11e664cc196e68e2 (diff)
downloadu-boot-imx-99ec7728072e01586492a289b2ae9d3cfab2f76c.zip
u-boot-imx-99ec7728072e01586492a289b2ae9d3cfab2f76c.tar.gz
u-boot-imx-99ec7728072e01586492a289b2ae9d3cfab2f76c.tar.bz2
drivers/net/ftmac100.c: Fix compile warning
Fix this: ftmac100.c: In function 'ftmac100_initialize': ftmac100.c:266:12: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ftmac100.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c
index 94dc6d9..fdd3ec0 100644
--- a/drivers/net/ftmac100.c
+++ b/drivers/net/ftmac100.c
@@ -190,8 +190,7 @@ static int ftmac100_recv (struct eth_device *dev)
/*
* Send a data block via Ethernet
*/
-static int
-ftmac100_send (struct eth_device *dev, volatile void *packet, int length)
+static int ftmac100_send(struct eth_device *dev, void *packet, int length)
{
struct ftmac100 *ftmac100 = (struct ftmac100 *)dev->iobase;
struct ftmac100_data *priv = dev->priv;