From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail0.scram.de (mail0.scram.de [78.47.204.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail0.scram.de", Issuer "scram e.V. CA" (not verified)) by ozlabs.org (Postfix) with ESMTP id 85A55DE1BE for ; Fri, 12 Oct 2007 02:42:41 +1000 (EST) Message-ID: <470E5245.8020801@scram.de> Date: Thu, 11 Oct 2007 18:41:41 +0200 From: Jochen Friedrich MIME-Version: 1.0 To: Jeff Garzik Subject: [PATCH] [PPC] Compile fix for 8xx CPM Ehernet driver Content-Type: multipart/mixed; boundary="------------050601090006010803040305" Cc: netdev , "linux-ppc-embedded \(\(\(\(E-Mail\)\)\)\)" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --------------050601090006010803040305 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Add #include 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 --- arch/ppc/8xx_io/enet.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) --------------050601090006010803040305 Content-Type: text/x-patch; name="16d5c009c75feb68cf1136330efabdffbec8e095.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="16d5c009c75feb68cf1136330efabdffbec8e095.diff" diff --git a/arch/ppc/8xx_io/enet.c b/arch/ppc/8xx_io/enet.c index 703d47e..eace3bc 100644 --- a/arch/ppc/8xx_io/enet.c +++ b/arch/ppc/8xx_io/enet.c @@ -44,6 +44,7 @@ #include #include #include +#include /* * Theory of Operation --------------050601090006010803040305--