diff options
author | Stephan Linz <linz@li-pro.net> | 2012-05-22 12:18:09 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 04:17:52 (GMT) |
commit | f22ff1ab09ee906790f08dea2942686c8370ac3d (patch) | |
tree | 32ba8805cce6d1db31ccbfefcc2cdd91d636a686 /drivers/net/xilinx_ll_temac_fifo.c | |
parent | bb901574922dcf9c97c33bc04fba3ba539397527 (diff) | |
download | u-boot-fsl-qoriq-f22ff1ab09ee906790f08dea2942686c8370ac3d.tar.xz |
drivers/net/xilinx_ll_temac.c: Fix compile warning
Fix this:
xilinx_ll_temac.c: In function 'xilinx_ll_temac_initialize':
xilinx_ll_temac.c:332: warning: assignment from incompatible pointer type
xilinx_ll_temac.c:340: warning: assignment from incompatible pointer type
Signed-off-by: Stephan Linz <linz@li-pro.net>
Diffstat (limited to 'drivers/net/xilinx_ll_temac_fifo.c')
-rw-r--r-- | drivers/net/xilinx_ll_temac_fifo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/xilinx_ll_temac_fifo.c b/drivers/net/xilinx_ll_temac_fifo.c index 3ff0f34..d7fd989 100644 --- a/drivers/net/xilinx_ll_temac_fifo.c +++ b/drivers/net/xilinx_ll_temac_fifo.c @@ -102,8 +102,7 @@ int ll_temac_recv_fifo(struct eth_device *dev) return 0; } -int ll_temac_send_fifo(struct eth_device *dev, volatile void *packet, - int length) +int ll_temac_send_fifo(struct eth_device *dev, void *packet, int length) { int i; u32 *buf = (u32 *)packet; |