]> git.sur5r.net Git - u-boot/commitdiff
drivers/net/smc91111.c: Fix compile warning
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 21 May 2012 14:45:32 +0000 (14:45 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:16 +0000 (10:18 -0500)
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>
drivers/net/smc91111.c

index 5cfef4dd7b463f13d0bc956078fdabddfae14368..6dc7ad52e4cb9d981d5c45e2b21df38aafa5fe77 100644 (file)
@@ -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;