projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b94215
)
drivers/qe/uec.c: Fix compile warning
author
Joe Hershberger
<joe.hershberger@ni.com>
Tue, 22 May 2012 07:56:21 +0000
(07:56 +0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Tue, 22 May 2012 18:41:48 +0000
(13:41 -0500)
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>
drivers/qe/uec.c
patch
|
blob
|
history
diff --git
a/drivers/qe/uec.c
b/drivers/qe/uec.c
index
3e46e35
..
216c898
100644
(file)
--- 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;