diff options
author | Jochen Friedrich <jochen@scram.de> | 2007-09-13 10:00:48 -0400 |
---|---|---|
committer | Jochen Friedrich <jochen@scram.de> | 2007-09-25 14:48:08 -0400 |
commit | 7a6d44f79f60f2b106e2a820503fa7c1814a13d0 (patch) | |
tree | 8debceb96f11902ef6aecf782aecbc80b315fcd3 | |
parent | 1d7a8ee0ebcc26c98f21889fd900546ef2a02fa1 (diff) |
[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>
-rw-r--r-- | arch/ppc/8xx_io/enet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/8xx_io/enet.c b/arch/ppc/8xx_io/enet.c index 703d47eee436..eace3bc118d2 100644 --- a/arch/ppc/8xx_io/enet.c +++ b/arch/ppc/8xx_io/enet.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <asm/mpc8xx.h> | 44 | #include <asm/mpc8xx.h> |
45 | #include <asm/uaccess.h> | 45 | #include <asm/uaccess.h> |
46 | #include <asm/commproc.h> | 46 | #include <asm/commproc.h> |
47 | #include <asm/cacheflush.h> | ||
47 | 48 | ||
48 | /* | 49 | /* |
49 | * Theory of Operation | 50 | * Theory of Operation |