Skip to content

Commit

Permalink
netdev: i82596 Ethernet needs <asm/cacheflush.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Jeff Garzik committed Jul 24, 2007
1 parent 1398661 commit 88accb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/82596.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 88accb4

Please sign in to comment.