diff options
author | Anatolij Gustschin <agust@denx.de> | 2012-05-20 12:22:55 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-22 10:18:13 -0500 |
commit | fd89b61b81a84bc1bbac4289c9978b3469fb302b (patch) | |
tree | b83626a5c6aa0644bdf7aab56938b1e37e1abcb0 /drivers | |
parent | b86a475c1a602c6ee44f4469d933df8792418a7a (diff) | |
download | u-boot-imx-fd89b61b81a84bc1bbac4289c9978b3469fb302b.zip u-boot-imx-fd89b61b81a84bc1bbac4289c9978b3469fb302b.tar.gz u-boot-imx-fd89b61b81a84bc1bbac4289c9978b3469fb302b.tar.bz2 |
drivers/net/smc911x.c: Fix GCC 4.6 warning
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/smc911x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index e34b487..b2aed7e 100644 --- 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; |