From patchwork Tue Sep 22 15:54:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ameya Palande X-Patchwork-Id: 49343 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 n8MFsd6A013155 for ; Tue, 22 Sep 2009 15:54:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753711AbZIVPye (ORCPT ); Tue, 22 Sep 2009 11:54:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752867AbZIVPye (ORCPT ); Tue, 22 Sep 2009 11:54:34 -0400 Received: from smtp.nokia.com ([192.100.105.134]:32952 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751761AbZIVPye (ORCPT ); Tue, 22 Sep 2009 11:54:34 -0400 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n8MFrMYq015559; Tue, 22 Sep 2009 10:53:42 -0500 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 22 Sep 2009 18:54:21 +0300 Received: from mgw-sa02.ext.nokia.com ([147.243.1.48]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 22 Sep 2009 18:54:20 +0300 Received: from localhost.localdomain (essapo-nirac25327.europe.nokia.com [10.162.253.27]) by mgw-sa02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n8MFsILH028841; Tue, 22 Sep 2009 18:54:19 +0300 From: Ameya Palande To: linux-omap@vger.kernel.org Cc: khilman@deeprootsystems.com, paul@pwsan.com Subject: [PATCH] OMAP: PM: Export functions from OMAP NOOP PM interface Date: Tue, 22 Sep 2009 18:54:18 +0300 Message-Id: <1253634858-7883-1-git-send-email-ameya.palande@nokia.com> X-Mailer: git-send-email 1.6.2.4 X-OriginalArrivalTime: 22 Sep 2009 15:54:20.0319 (UTC) FILETIME=[F2848AF0:01CA3B9C] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Without this patch, a driver which uses these symbols will break when user selects NOOP PM interface. Signed-off-by: Ameya Palande --- arch/arm/plat-omap/omap-pm-noop.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/omap-pm-noop.c b/arch/arm/plat-omap/omap-pm-noop.c index 3b075de..10463a4 100644 --- a/arch/arm/plat-omap/omap-pm-noop.c +++ b/arch/arm/plat-omap/omap-pm-noop.c @@ -157,6 +157,7 @@ const struct omap_opp *omap_pm_dsp_get_opp_table(void) return NULL; } +EXPORT_SYMBOL(omap_pm_dsp_get_opp_table); void omap_pm_dsp_set_min_opp(u8 opp_id) { @@ -181,7 +182,7 @@ void omap_pm_dsp_set_min_opp(u8 opp_id) * */ } - +EXPORT_SYMBOL(omap_pm_dsp_set_min_opp); u8 omap_pm_dsp_get_opp(void) { @@ -197,6 +198,7 @@ u8 omap_pm_dsp_get_opp(void) return 0; } +EXPORT_SYMBOL(omap_pm_dsp_get_opp); u8 omap_pm_vdd1_get_opp(void) { @@ -208,6 +210,7 @@ u8 omap_pm_vdd1_get_opp(void) return 0; } +EXPORT_SYMBOL(omap_pm_vdd1_get_opp); u8 omap_pm_vdd2_get_opp(void) { @@ -219,6 +222,7 @@ u8 omap_pm_vdd2_get_opp(void) return 0; } +EXPORT_SYMBOL(omap_pm_vdd2_get_opp); /* * CPUFreq-originated constraint @@ -259,6 +263,7 @@ void omap_pm_cpu_set_freq(unsigned long f) * CDP should just be able to set the VDD1 OPP clock rate here. */ } +EXPORT_SYMBOL(omap_pm_cpu_set_freq); unsigned long omap_pm_cpu_get_freq(void) { @@ -270,6 +275,7 @@ unsigned long omap_pm_cpu_get_freq(void) return 0; } +EXPORT_SYMBOL(omap_pm_cpu_get_freq); /* * Device context loss tracking