From patchwork Tue Feb 12 22:23:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 2132451 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 6849FDFB7B for ; Tue, 12 Feb 2013 22:27:22 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U5OGk-00064S-5T; Tue, 12 Feb 2013 22:24:06 +0000 Received: from mail-pa0-f51.google.com ([209.85.220.51]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U5OGg-00063l-PM for linux-arm-kernel@lists.infradead.org; Tue, 12 Feb 2013 22:24:03 +0000 Received: by mail-pa0-f51.google.com with SMTP id hz1so351376pad.10 for ; Tue, 12 Feb 2013 14:23:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=0C54R4+M9vEpaYy2+RPbzJt669FomwzOldHfhf1D93Q=; b=bQNaGz2A1BAqnSqPZ2QKlkRE7W1xwNsfrdC2TN0mn78QsTj6I8tFidU/oHLmL+c7/4 SvXkv8+g6S64pVoHe9NOyxXhwYqw8rL/DUsMb6w7sgSAI8TzbBZS1IA5sg6tJA0gG0cJ JcFVtmNbmUvbOOD0dy2isvBUE4nOZfWH/s5RA900swS/p7BB4z+mVrR9bK1JKfCeYKMJ R8QQWebba29ksvtNilYd+H+NS0hbVzuoM/5YG40d38jAO4JdumLC1seOskq082MJwCPr fwABIFdz23H3YHj3O01RUrKp++zqiWhfOfbbg4Zdgd4JGZoXtdV+lybc4/9b87CSGlD6 XMzA== X-Received: by 10.66.84.202 with SMTP id b10mr56601248paz.71.1360707839091; Tue, 12 Feb 2013 14:23:59 -0800 (PST) Received: from localhost (c-24-19-7-36.hsd1.wa.comcast.net. [24.19.7.36]) by mx.google.com with ESMTPS id q4sm78148116paz.20.2013.02.12.14.23.57 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 12 Feb 2013 14:23:58 -0800 (PST) From: Kevin Hilman To: Tony Lindgren Subject: [PATCH] ARM: OMAP2+: SmartReflex: soc.h is needed for omap initcalls Date: Tue, 12 Feb 2013 14:23:56 -0800 Message-Id: <1360707836-2545-1-git-send-email-khilman@linaro.org> X-Mailer: git-send-email 1.8.1.2 X-Gm-Message-State: ALoCoQm68DAdvzM+DVcy+0POcvNRrOqSK6W8Agkcz0rulGpV1IYVFsr6m5ImfJw0qILFTx49VD/2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130212_172402_936658_6C4B0971 X-CRM114-Status: GOOD ( 10.07 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.51 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 commit aa4f99638b (ARM: OMAP2+: Use omap initcalls) converted the initcalls here, but did not #include "soc.h" where the omap inicalls are defined. To fix, #include Signed-off-by: Kevin Hilman --- Tony, the patch that broke this was introduced in your omap-for-v3.9/multiplatform-enable-signed branch, and this problem was found only when compiling with PM (specifically, SmartReflex) enabled. arch/arm/mach-omap2/smartreflex-class3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/smartreflex-class3.c b/arch/arm/mach-omap2/smartreflex-class3.c index 80f3acb..b2dcbd3 100644 --- a/arch/arm/mach-omap2/smartreflex-class3.c +++ b/arch/arm/mach-omap2/smartreflex-class3.c @@ -13,6 +13,7 @@ #include #include "voltage.h" +#include "soc.h" static int sr_class3_enable(struct omap_sr *sr) {