Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761331AbXIXRN6 (ORCPT ); Mon, 24 Sep 2007 13:13:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758493AbXIXRNt (ORCPT ); Mon, 24 Sep 2007 13:13:49 -0400 Received: from mail0.scram.de ([78.47.204.202]:57314 "EHLO mail0.scram.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758125AbXIXRNs (ORCPT ); Mon, 24 Sep 2007 13:13:48 -0400 X-Spam-Score: -3.88 X-Spam-Report: * -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.5 AWL AWL: From: address is in the auto white-list Message-ID: <46F7F04A.7020602@scram.de> Date: Mon, 24 Sep 2007 19:13:46 +0200 From: Jochen Friedrich User-Agent: Mozilla-Thunderbird 2.0.0.4 (X11/20070828) MIME-Version: 1.0 To: linuxppc-embedded@ozlabs.org CC: linux-kernel@vger.kernel.org, Marcelo Tosatti Subject: [PATCH#2 1/4] [POWERPC] Fix copy'n'paste typo in commproc.c Content-Type: multipart/mixed; boundary="------------040807070706020104050703" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2039 Lines: 49 This is a multi-part message in MIME format. --------------040807070706020104050703 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit The powerpc version of commproc.c exports cpm_dpram_addr twice and cpm_dpram_phys not at all due to a typo. This patch fixes this problem. CC arch/powerpc/sysdev/commproc.o arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kcrctab_cpm_dpram_addr' arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kcrctab_cpm_dpram_addr' was here arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kstrtab_cpm_dpram_addr' arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kstrtab_cpm_dpram_addr' was here arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__ksymtab_cpm_dpram_addr' arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__ksymtab_cpm_dpram_addr' was here make[1]: *** [arch/powerpc/sysdev/commproc.o] Error 1 make: *** [arch/powerpc/sysdev] Error 2 Signed-off-by: Jochen Friedrich --- arch/powerpc/sysdev/commproc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --------------040807070706020104050703 Content-Type: text/x-patch; name="ef0b35e6f35cd911148c86f0b73cce536968d5b5.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ef0b35e6f35cd911148c86f0b73cce536968d5b5.diff" diff --git a/arch/powerpc/sysdev/commproc.c b/arch/powerpc/sysdev/commproc.c index 4f67b89..dd5417a 100644 --- a/arch/powerpc/sysdev/commproc.c +++ b/arch/powerpc/sysdev/commproc.c @@ -395,4 +395,4 @@ uint cpm_dpram_phys(u8* addr) { return (dpram_pbase + (uint)(addr - dpram_vbase)); } -EXPORT_SYMBOL(cpm_dpram_addr); +EXPORT_SYMBOL(cpm_dpram_phys); --------------040807070706020104050703-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/