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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linuxppc-embedded@...>
Cc: <linux-kernel@...>, Marcelo Tosatti <marcelo@...>
Date: Sunday, September 23, 2007 - 4:17 pm

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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH3/4] [PPC] Compile fix for 8xx CPM Ehernet driver, Jochen Friedrich, (Sun Sep 23, 4:17 pm)