aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/smc91111.c
diff options
context:
space:
mode:
authorJoe Hershberger2012-05-21 14:45:32 +0000
committerJoe Hershberger2012-05-22 10:18:16 -0500
commit9f09864003a74a1e3530eef42460eafa509ad210 (patch)
treed9fa4f19f17c96b271328f82d868e0984ab9e39d /drivers/net/smc91111.c
parent9d9a89be3af7c5ce3c124f1ddd5470d1cad7c49a (diff)
drivers/net/smc91111.c: Fix compile warning
Fix this: smc91111.c: In function 'smc91111_initialize': smc91111.c:1363:12: 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/smc91111.c')
-rw-r--r--drivers/net/smc91111.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c
index 5cfef4dd7b4..6dc7ad52e4c 100644
--- a/drivers/net/smc91111.c
+++ b/drivers/net/smc91111.c
@@ -426,8 +426,7 @@ static void smc_halt(struct eth_device *dev)
. Enable the transmit interrupt, so I know if it failed
. Free the kernel data if I actually sent it.
*/
-static int smc_send(struct eth_device *dev, volatile void *packet,
- int packet_length)
+static int smc_send(struct eth_device *dev, void *packet, int packet_length)
{
byte packet_no;
byte *buf;