summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 14:45:27 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:16 -0500
commit442dac4c7fd97be2ec78a68c11e664cc196e68e2 (patch)
treeb2036c983507a47136a735f7271ea74e854fcdfc /drivers/net
parentb58cab3429b0f6e343c8fc21b124aa80c6a02072 (diff)
downloadu-boot-imx-442dac4c7fd97be2ec78a68c11e664cc196e68e2.zip
u-boot-imx-442dac4c7fd97be2ec78a68c11e664cc196e68e2.tar.gz
u-boot-imx-442dac4c7fd97be2ec78a68c11e664cc196e68e2.tar.bz2
drivers/net/fec_mxc.c: Fix compile warning
Fix this: fec_mxc.c: In function 'fec_probe': fec_mxc.c:926:13: 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/net')
-rw-r--r--drivers/net/fec_mxc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index 156fa8f..eee41d7 100644
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -687,7 +687,7 @@ static void fec_halt(struct eth_device *dev)
* @param[in] length Data count in bytes
* @return 0 on success
*/
-static int fec_send(struct eth_device *dev, volatile void *packet, int length)
+static int fec_send(struct eth_device *dev, void *packet, int length)
{
unsigned int status;
uint32_t size;