From patchwork Tue Jan 19 11:57:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 73853 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0JBwDLd025028 for ; Tue, 19 Jan 2010 11:58:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753988Ab0ASL6M (ORCPT ); Tue, 19 Jan 2010 06:58:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753388Ab0ASL6M (ORCPT ); Tue, 19 Jan 2010 06:58:12 -0500 Received: from smtp.nokia.com ([192.100.122.233]:30817 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753959Ab0ASL6K (ORCPT ); Tue, 19 Jan 2010 06:58:10 -0500 Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0JBvsUL011057; Tue, 19 Jan 2010 13:58:05 +0200 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Jan 2010 13:57:49 +0200 Received: from mgw-sa01.ext.nokia.com ([147.243.1.47]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Jan 2010 13:57:48 +0200 Received: from localhost.localdomain (esdhcp041176.research.nokia.com [172.21.41.176]) by mgw-sa01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0JBvkQc029559; Tue, 19 Jan 2010 13:57:47 +0200 From: Eduardo Valentin To: ext Nishanth Menon , ext Kevin Hilman Cc: Linux-OMAP , Eduardo Valentin Subject: [PATCH 1/1] OMAP3: PM: Fix compilation issue of omap3_pm_init_opp_table Date: Tue, 19 Jan 2010 13:57:34 +0200 Message-Id: <1263902254-3015-1-git-send-email-eduardo.valentin@nokia.com> X-Mailer: git-send-email 1.6.5.7.g9ecb2 X-OriginalArrivalTime: 19 Jan 2010 11:57:48.0664 (UTC) FILETIME=[9ECA1780:01CA98FE] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index d257225..5fc056f 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch/arm/mach-omap2/pm.h @@ -69,7 +69,13 @@ static inline void omap3_pm_init_vc(struct prm_setup_vc *setup_vc) * Initialize the basic opp table here, board files could choose to modify opp * table after the basic initialization */ +#ifdef CONFIG_PM extern void omap3_pm_init_opp_table(void); +#else +static inline void omap3_pm_init_opp_table(void) +{ +} +#endif extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state);