Skip to content

Commit

Permalink
[PPC] Compile fix for 8xx CPM Ehernet driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jochen Friedrich committed Sep 25, 2007
1 parent 1d7a8ee commit 7a6d44f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/ppc/8xx_io/enet.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <asm/mpc8xx.h>
#include <asm/uaccess.h>
#include <asm/commproc.h>
#include <asm/cacheflush.h>

/*
* Theory of Operation
Expand Down

0 comments on commit 7a6d44f

Please sign in to comment.