From patchwork Fri Mar 20 08:07:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kim kyuwon X-Patchwork-Id: 13234 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2K87cLC003689 for ; Fri, 20 Mar 2009 08:07:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751486AbZCTIHf (ORCPT ); Fri, 20 Mar 2009 04:07:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752290AbZCTIHf (ORCPT ); Fri, 20 Mar 2009 04:07:35 -0400 Received: from wf-out-1314.google.com ([209.85.200.175]:31880 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751486AbZCTIHe (ORCPT ); Fri, 20 Mar 2009 04:07:34 -0400 Received: by wf-out-1314.google.com with SMTP id 29so1097323wff.4 for ; Fri, 20 Mar 2009 01:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=s50ZHTnLvZglP2DGaYvdMkEnnucrC0/AIuN5j2ujfJQ=; b=kmOLlZCrs7v2Ew76kYugbD+QaTNfXmDowbBa8agazr803zUQiKzJbz0k08U6PaFULz 9p9L/QWFgCT7Pg9gf2DOY2dLyHhmqSS2OUTU5RPaK3Qr9UlfO2PJFZ6lXj+lgNl9x0Su xNEPqb6nAIt/oQbdMV6fTnIQondn1ObdaNBcM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=dxh1eKjBbZkIdCDgqG0kabWr/6GQ3HyPkIHwmZFYhg/9Y6fhUiJc0NCCfEHQ4eWLBe hW2SUCx/VO60Kh8DKQmqWyJ1dnkf1RacZnIBgo1a6U2QrCgoMPY+l4Ga8DPwOKb0Ewf/ jnCf4KtWM+gC0qrPJUZFMe5vyxl5kTHxfsijY= MIME-Version: 1.0 Received: by 10.142.144.16 with SMTP id r16mr1360958wfd.214.1237536452289; Fri, 20 Mar 2009 01:07:32 -0700 (PDT) Date: Fri, 20 Mar 2009 17:07:32 +0900 Message-ID: <4d34a0a70903200107j65ae61fay9a954e71b8910348@mail.gmail.com> Subject: [PATCH 1/2] OMAP3: PM: Fix compile error with 'CONFIG_OMAP_PM_SRF=y' From: Kim Kyuwon To: OMAP Cc: Kevin Hilman , =?EUC-KR?B?udqw5rnO?= Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org This patch fixes below compile error. The header file 'mach/omap34xx.h' declared all needed symbols. CC arch/arm/mach-omap2/pm.o CC arch/arm/mach-omap2/resource34xx.o arch/arm/mach-omap2/resource34xx.c: In function 'resource_access_opp_lock': arch/arm/mach-omap2/resource34xx.c:174: error: 'VDD1_OPP' undeclared (first use in this function) arch/arm/mach-omap2/resource34xx.c:177: error: 'VDD2_OPP' undeclared (first use in this function) arch/arm/mach-omap2/resource34xx.c:209: error: 'MAX_VDD1_OPP' undeclared (first use in this function) make[1]: *** [arch/arm/mach-omap2/resource34xx.o] Error 1 arch/arm/mach-omap2/pm.c: In function 'vdd_opp_show': arch/arm/mach-omap2/pm.c:140: error: 'VDD1_OPP' undeclared (first use in this function) arch/arm/mach-omap2/pm.c:140: error: (Each undeclared identifier is reported only once make[1]: *** [arch/arm/mach-omap2/pm.o] Error 1 Signed-off-by: Kim Kyuwon --- arch/arm/mach-omap2/pm.c | 1 + arch/arm/mach-omap2/resource34xx.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index e64a80e..c0f1ae8 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -34,6 +34,7 @@ #include #include #include +#include #include "prm-regbits-34xx.h" #include "pm.h" diff --git a/arch/arm/mach-omap2/resource34xx.c b/arch/arm/mach-omap2/resource34xx.c index 2328323..4db9289 100644 --- a/arch/arm/mach-omap2/resource34xx.c +++ b/arch/arm/mach-omap2/resource34xx.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "smartreflex.h" #include "resource34xx.h" #include "pm.h"