[PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver

Jochen Friedrich jochen at scram.de
Tue Sep 25 03:15:35 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: bf5c2f419c8f731109b1c39e390338dcea780e94.diff
Type: text/x-patch
Size: 308 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070924/394e1e0f/attachment.bin 


More information about the Linuxppc-embedded mailing list