From patchwork Tue Aug 27 10:16:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: manjunath.goudar@linaro.org X-Patchwork-Id: 19541 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 274BC2469A for ; Tue, 27 Aug 2013 10:16:41 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id ha11sf4906429vcb.4 for ; Tue, 27 Aug 2013 03:16:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe:content-type:content-transfer-encoding; bh=hJHMKVoUQR15RFziYzB6hjLp7ut9BKsCJsCI/Yqr9lY=; b=UplGwviA+uuygXUj/NpOlv8l27GK7SlSs6cYnrkoKYQ1wfBFk5B0Y/cnI+T+bUGufq kRJwbIo49xSz5vM+8xqrd5QJuKPCM/jrD3A7gM17BDwG3xxYUoShZelPmZwKVk4eGbZz fkBen6wIX34zBuMArBmMMSPXo5xuwXp4JirjeV4Yq3AtBSCV/RMf6Nr/xed6IqGilBAc 8SpxaOBMt7uViWbL8ag9S+4QXiJLe3bo5BTVONKMM97XB4S+YalbWa0fQNjrVdOZ/lmw qNuNYrrmOF0GhjcEc2QsOr3dEnnZ9Tseum7bX1wxtcFYOwY55nbwM8T3FZe9oD7xhB/d xE6A== X-Received: by 10.236.111.73 with SMTP id v49mr7295312yhg.46.1377598600463; Tue, 27 Aug 2013 03:16:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.83 with SMTP id s19ls2617131qeu.7.gmail; Tue, 27 Aug 2013 03:16:40 -0700 (PDT) X-Received: by 10.58.211.227 with SMTP id nf3mr7586707vec.20.1377598600365; Tue, 27 Aug 2013 03:16:40 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id k20si4689419vco.61.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 03:16:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id jz10so3072088veb.12 for ; Tue, 27 Aug 2013 03:16:40 -0700 (PDT) X-Gm-Message-State: ALoCoQnRiy/5qVDRSFmUUMGYTGZYEsc4usYAbPtm09j+WtGEjsligM+S+6ScQVGk0tT6Gpd6IL/Z X-Received: by 10.58.235.69 with SMTP id uk5mr19601658vec.17.1377598600279; Tue, 27 Aug 2013 03:16:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp285831vcz; Tue, 27 Aug 2013 03:16:39 -0700 (PDT) X-Received: by 10.66.163.164 with SMTP id yj4mr19847913pab.91.1377598599112; Tue, 27 Aug 2013 03:16:39 -0700 (PDT) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by mx.google.com with ESMTPS id to1si15787772pab.80.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 03:16:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.43 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.220.43; Received: by mail-pa0-f43.google.com with SMTP id hz10so4623490pad.2 for ; Tue, 27 Aug 2013 03:16:38 -0700 (PDT) X-Received: by 10.68.130.2 with SMTP id oa2mr13063632pbb.134.1377598598431; Tue, 27 Aug 2013 03:16:38 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id ar5sm23673052pbc.40.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 03:16:37 -0700 (PDT) From: Manjunath Goudar To: manjunath.goudar@linaro.org Cc: arnd@linaro.org, patches@linaro.org, linaro-kernel@lists.linaro.org, dsaxena@linaro.org Subject: [PATCH] ARM: mach-omap1: Fix omap1510_fpga_init_irq() implicit declarations. Date: Tue, 27 Aug 2013 15:46:24 +0530 Message-Id: <1377598584-26687-1-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: root This patch adds a omap1510_fpga_init_irq() inline dummy implementations in arch/arm/mach-omap1/common.h. Without this patch,build system can lead to issues. This was discovered during randconfig testing,in which other than CONFIG_ARCH_OMAP15XX was enabled the leading to the following error: CC arch/arm/mach-omap1/board-innovator.o arch/arm/mach-omap1/board-innovator.c: In function ‘innovator_init’: arch/arm/mach-omap1/board-innovator.c:377:3: error: implicit declaration of function ‘omap1510_fpga_init_irq’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[1]: *** [arch/arm/mach-omap1/board-innovator.o] Error 1 make: *** [arch/arm/mach-omap1] Error 2 Signed-off-by: Manjunath Goudar Cc: Arnd Bergmann Cc: Deepak Saxena Cc: Linus Walleij Cc: Tony Lindgren Cc: linux-omap@vger.kernel.org --- arch/arm/mach-omap1/common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap1/common.h b/arch/arm/mach-omap1/common.h index abec019..732f8ee 100644 --- a/arch/arm/mach-omap1/common.h +++ b/arch/arm/mach-omap1/common.h @@ -46,6 +46,9 @@ static inline void omap7xx_map_io(void) void omap1510_fpga_init_irq(void); void omap15xx_map_io(void); #else +static inline void omap1510_fpga_init_irq(void) +{ +} static inline void omap15xx_map_io(void) { }