From patchwork Thu Feb 14 22:47:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2143531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id CB823DF283 for ; Thu, 14 Feb 2013 22:51:27 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U67cH-0007tL-PT; Thu, 14 Feb 2013 22:49:21 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U67aw-0007HX-Tx for linux-arm-kernel@lists.infradead.org; Thu, 14 Feb 2013 22:48:03 +0000 Received: from wuerfel.lan (HSI-KBW-46-223-90-92.hsi.kabel-badenwuerttemberg.de [46.223.90.92]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MeptE-1UH3pm2oVU-00OGlC; Thu, 14 Feb 2013 23:47:50 +0100 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/9] ARM: omap2: include linux/errno.h in hwmod_reset Date: Thu, 14 Feb 2013 23:47:45 +0100 Message-Id: <1360882071-4072668-4-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1360882071-4072668-1-git-send-email-arnd@arndb.de> References: <1360882071-4072668-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:VCFIo0BL6NBuyn9zpcVjVUEgBfFXun2fB/uloiae3ZJ 54fEEd/GMU6THEuiAf+c2GHIQm/jYHfvEV4t3ciLc9Qg/ZnbPR sl2zzXdaAV0JxpF1ewHNTScaehY14V2uz3OaYGnZ0T1hqMny0m bktZ8C3zvw5XgDC38kuBte7wgrD+ZvyzP2Qg5LyX/tRZx1iFbA YG65olsm+px/GezsoqmxwiwB7tk/YOvAVCsHunsvywIto8dKLN KLB4TriYBu3NEYf3cgF6MF82dagb7dINrvNwqZvmDYMG5a2Qim sjEwjyhyxikzby017bxK6T+jXWPg5SUdWcGOr+bnFYLSLxI1Ph Tv1TBFVG+OqpsyAomxVqmeYHRjyCsoKq2uvpvxtMW X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130214_174759_225247_07D2CE0E X-CRM114-Status: GOOD ( 10.65 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.171 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Paul Walmsley , Arnd Bergmann , Tony Lindgren , linux-kernel@vger.kernel.org, arm@kernel.org, Sebastien Guiriec X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The newly created omap_hwmod_reset.c is missing an include of linux/errno.h in commit c02060d8 "ARM: OMAP4+: AESS: enable internal auto-gating during initial setup". It still works in omap2_defconfig, but not in all other combinations. Without this patch, building allmodconfig results in: arch/arm/mach-omap2/omap_hwmod_reset.c: In function 'omap_hwmod_aess_preprogram': arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: error: 'EINVAL' undeclared (first use in this function) arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Arnd Bergmann Cc: Paul Walmsley Cc: Sebastien Guiriec Cc: Tony Lindgren Acked-by: Tony Lindgren Acked-by: Paul Walmsley --- arch/arm/mach-omap2/omap_hwmod_reset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_reset.c b/arch/arm/mach-omap2/omap_hwmod_reset.c index bba43fa..65e186c 100644 --- a/arch/arm/mach-omap2/omap_hwmod_reset.c +++ b/arch/arm/mach-omap2/omap_hwmod_reset.c @@ -24,6 +24,7 @@ * 02110-1301 USA */ #include +#include #include