projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b86a475
)
drivers/net/smc911x.c: Fix GCC 4.6 warning
author
Anatolij Gustschin
<agust@denx.de>
Sun, 20 May 2012 12:22:55 +0000
(12:22 +0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:13 +0000
(10:18 -0500)
smc911x.c: In function 'smc911x_initialize':
smc911x.c:288:12: warning: assignment from incompatible pointer type
[enabled by default]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/net/smc911x.c
patch
|
blob
|
history
diff --git
a/drivers/net/smc911x.c
b/drivers/net/smc911x.c
index e34b4879d0df0c9fa814d30dd19c7df2e825f2bf..b2aed7e14ad200f040ca147f66f4064a4c3adc10 100644
(file)
--- a/
drivers/net/smc911x.c
+++ b/
drivers/net/smc911x.c
@@
-161,8
+161,7
@@
static int smc911x_init(struct eth_device *dev, bd_t * bd)
return 0;
}
-static int smc911x_send(struct eth_device *dev,
- volatile void *packet, int length)
+static int smc911x_send(struct eth_device *dev, void *packet, int length)
{
u32 *data = (u32*)packet;
u32 tmplen;