summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 14:45:29 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:16 -0500
commit78a7c17b740c0ff5c7e6f96b5961f5721eed7a59 (patch)
tree5e7c9b4cb6af2cb76056ad4cf0e7756a34434cbf /drivers
parent99ec7728072e01586492a289b2ae9d3cfab2f76c (diff)
downloadu-boot-imx-78a7c17b740c0ff5c7e6f96b5961f5721eed7a59.zip
u-boot-imx-78a7c17b740c0ff5c7e6f96b5961f5721eed7a59.tar.gz
u-boot-imx-78a7c17b740c0ff5c7e6f96b5961f5721eed7a59.tar.bz2
drivers/net/ks8695eth.c: Fix compile warning
Fix this: ks8695eth.c: In function 'ks8695_eth_initialize': ks8695eth.c:236: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')
-rw-r--r--drivers/net/ks8695eth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ks8695eth.c b/drivers/net/ks8695eth.c
index 8e988d1..b4904b6 100644
--- a/drivers/net/ks8695eth.c
+++ b/drivers/net/ks8695eth.c
@@ -190,8 +190,7 @@ static int ks8695_eth_recv(struct eth_device *dev)
/****************************************************************************/
-static int ks8695_eth_send(struct eth_device *dev, volatile void *packet,
- int len)
+static int ks8695_eth_send(struct eth_device *dev, void *packet, int len)
{
volatile struct ks8695_txdesc *dp;
static int next = 0;