summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-22 07:56:21 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 13:41:48 -0500
commit7ae84d56736e3348b7781fc1bb2911b3dfc23a0e (patch)
tree967022a8dd554054ec3dc12733bf5007165a0d7c
parent4b94215007ae99b75f7deff651f9aac0cb89b103 (diff)
drivers/qe/uec.c: Fix compile warning
Fix this: uec.c: In function 'uec_initialize': uec.c:1404:12: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r--drivers/qe/uec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c
index 3e46e3515f..216c8982be 100644
--- a/drivers/qe/uec.c
+++ b/drivers/qe/uec.c
@@ -1288,7 +1288,7 @@ static void uec_halt(struct eth_device* dev)
uec_stop(uec, COMM_DIR_RX_AND_TX);
}
-static int uec_send(struct eth_device* dev, volatile void *buf, int len)
+static int uec_send(struct eth_device *dev, void *buf, int len)
{
uec_private_t *uec;
ucc_fast_private_t *uccf;