netdev: i82596 Ethernet needs <asm/cacheflush.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 20 Jul 2007 16:40:45 +0000 (18:40 +0200)
committerJeff Garzik <jeff@garzik.org>
Tue, 24 Jul 2007 20:28:42 +0000 (16:28 -0400)
netdev: i82596 Ethernet needs <asm/cacheflush.h> on m68k

drivers/net/82596.c: In function 'init_rx_bufs':
drivers/net/82596.c:552: error: implicit declaration of function 'cache_clear'
drivers/net/82596.c: In function 'i596_start_xmit':
drivers/net/82596.c:1104: error: implicit declaration of function 'cache_push'

The driver still compiles on ia32 (CONFIG_APRICOT=y)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/82596.c

index 3ff1155..d915837 100644 (file)
@@ -57,6 +57,7 @@
 #include <asm/io.h>
 #include <asm/dma.h>
 #include <asm/pgtable.h>
+#include <asm/cacheflush.h>
 
 static char version[] __initdata =
        "82596.c $Revision: 1.5 $\n";