summaryrefslogtreecommitdiff
path: root/drivers/net/lan91c96.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 14:45:30 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:16 -0500
commit30934b3e5d63aa71a8d3839cc75d9fbee31b5f96 (patch)
treeafc1e11f2249fbc897b9fcbc51202eb40da62dda /drivers/net/lan91c96.c
parent78a7c17b740c0ff5c7e6f96b5961f5721eed7a59 (diff)
drivers/net/lan91c96.c: Fix compile warning
Fix this: lan91c96.c: In function 'lan91c96_initialize': lan91c96.c:811: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/lan91c96.c')
-rw-r--r--drivers/net/lan91c96.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c
index 24b28da249..11d350eb8d 100644
--- a/drivers/net/lan91c96.c
+++ b/drivers/net/lan91c96.c
@@ -314,7 +314,7 @@ static void smc_shutdown(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_packet(struct eth_device *dev, volatile void *packet,
+static int smc_send_packet(struct eth_device *dev, void *packet,
int packet_length)
{
byte packet_no;
@@ -700,7 +700,7 @@ static int lan91c96_recv(struct eth_device *dev)
return smc_rcv(dev);
}
-static int lan91c96_send(struct eth_device *dev, volatile void *packet,
+static int lan91c96_send(struct eth_device *dev, void *packet,
int length)
{
return smc_send_packet(dev, packet, length);