[PATCH3/4] [PPC] Compile fix for 8xx CPM Ehernet driver

Jochen Friedrich jochen at scram.de
Mon Sep 24 06:17:27 EST 2007


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 at scram.de>
---
 arch/ppc/8xx_io/enet.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c10ab471b95ac13c93b0ae36d169756ae694a77d.diff
Type: text/x-patch
Size: 308 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070923/02e4cbba/attachment.bin 


More information about the Linuxppc-embedded mailing list