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: 2132441 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 1FC90DFB7B for ; Tue, 12 Feb 2013 22:24:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752330Ab3BLWYA (ORCPT ); Tue, 12 Feb 2013 17:24:00 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:64779 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035Ab3BLWX7 (ORCPT ); Tue, 12 Feb 2013 17:23:59 -0500 Received: by mail-pa0-f45.google.com with SMTP id kl14so344691pab.4 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=cna6YbAMCiHdTMAWc/XAYryW3O0TAwxnpvxJcDa2Mq6eBvUYWVY6ZuabEjzodA6OIa c36lKRx+2zWf10O0gYXhpQVAO+bRB951bLlCzzY2RnEv12fMVIKfiB7uvgz1z31WsbSX f156FCuy1NCxrcgzg+EeFkZZc3ROAw/Iz9TN4ptf0v5fHaACkZRG2QvVQPMbhf6YtzH0 PDFie/jhNOJQLu7zs2O76KsqsBABCUs+PzqkhmdNusyVkicG4JLcBT8ybXi+jil1ImuO sao2Xtim6z5oQybsPgh1AGMSujRd3sL8sNBjqaR8naKi5B4284e2DpGLWAjU03Pp/PKs knig== 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 Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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: ALoCoQn7ScyX+/X72MYHvwDq6RmkIQOcPEqjLV6dvdCBq3bkcgMgTyL5lTHPcaKRGoMR1UewsB9x Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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) {