]> err.no Git - linux-2.6/commitdiff
[PPC] Compile fix for 8xx CPM Ehernet driver
authorJochen Friedrich <jochen@scram.de>
Thu, 13 Sep 2007 14:00:48 +0000 (16:00 +0200)
committerJochen Friedrich <jochen@scram.de>
Tue, 25 Sep 2007 18:48:08 +0000 (20:48 +0200)
Add #include <asm/cacheflush.h> for flush_dcache_range
to make the driver compile again.

  CC      arch/ppc/8xx_io/enet.o
arch/ppc/8xx_io/enet.c: In function 'scc_enet_start_xmit':
arch/ppc/8xx_io/enet.c:240: error: implicit declaration of function
'flush_dcache_range'
make[1]: *** [arch/ppc/8xx_io/enet.o] Error 1
make: *** [arch/ppc/8xx_io] Error 2

Signed-off-by: Jochen Friedrich <jochen@scram.de>
arch/ppc/8xx_io/enet.c

index 703d47eee4362206e308f57f5d02015a3d0a7464..eace3bc118d2092252da1765699cf2e056fe5f24 100644 (file)
@@ -44,6 +44,7 @@
 #include <asm/mpc8xx.h>
 #include <asm/uaccess.h>
 #include <asm/commproc.h>
+#include <asm/cacheflush.h>
 
 /*
  *                             Theory of Operation