浏览代码

[PPC] Compile fix for 8xx CPM Ehernet driver

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>
Jochen Friedrich 18 年之前
父节点
当前提交
7a6d44f79f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/ppc/8xx_io/enet.c

+ 1 - 0
arch/ppc/8xx_io/enet.c

@@ -44,6 +44,7 @@
 #include <asm/mpc8xx.h>
 #include <asm/uaccess.h>
 #include <asm/commproc.h>
+#include <asm/cacheflush.h>
 
 /*
  *				Theory of Operation