From patchwork Tue Oct 27 19:49:46 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Walmsley X-Patchwork-Id: 56166 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 n9RJnn55004253 for ; Tue, 27 Oct 2009 19:49:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754050AbZJ0Ttn (ORCPT ); Tue, 27 Oct 2009 15:49:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753260AbZJ0Ttn (ORCPT ); Tue, 27 Oct 2009 15:49:43 -0400 Received: from utopia.booyaka.com ([72.9.107.138]:37554 "EHLO utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752502AbZJ0Ttm (ORCPT ); Tue, 27 Oct 2009 15:49:42 -0400 Received: (qmail 16391 invoked by uid 526); 27 Oct 2009 19:49:46 -0000 Date: Tue, 27 Oct 2009 13:49:46 -0600 (MDT) From: Paul Walmsley To: linux-omap@vger.kernel.org cc: ameya.palande@nokia.com, khilman@deeprootsystems.com Subject: [PATCH] OMAP PM: Remove symbol exports Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/omap-pm-noop.c b/arch/arm/plat-omap/omap-pm-noop.c index d3c7279..cab105f 100644 --- a/arch/arm/plat-omap/omap-pm-noop.c +++ b/arch/arm/plat-omap/omap-pm-noop.c @@ -157,7 +157,6 @@ 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) { @@ -182,7 +181,6 @@ 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) { @@ -198,7 +196,6 @@ u8 omap_pm_dsp_get_opp(void) return 0; } -EXPORT_SYMBOL(omap_pm_dsp_get_opp); u8 omap_pm_vdd1_get_opp(void) { @@ -210,7 +207,6 @@ u8 omap_pm_vdd1_get_opp(void) return 0; } -EXPORT_SYMBOL(omap_pm_vdd1_get_opp); u8 omap_pm_vdd2_get_opp(void) { @@ -222,7 +218,6 @@ u8 omap_pm_vdd2_get_opp(void) return 0; } -EXPORT_SYMBOL(omap_pm_vdd2_get_opp); /* * CPUFreq-originated constraint @@ -263,7 +258,6 @@ 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) { @@ -275,7 +269,6 @@ unsigned long omap_pm_cpu_get_freq(void) return 0; } -EXPORT_SYMBOL(omap_pm_cpu_get_freq); /* * Device context loss tracking diff --git a/arch/arm/plat-omap/omap-pm-srf.c b/arch/arm/plat-omap/omap-pm-srf.c index a28945b..d769b90 100644 --- a/arch/arm/plat-omap/omap-pm-srf.c +++ b/arch/arm/plat-omap/omap-pm-srf.c @@ -185,7 +185,6 @@ 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) { @@ -203,28 +202,24 @@ void omap_pm_dsp_set_min_opp(u8 opp_id) resource_request("vdd1_opp", &dummy_dsp_dev, opp_id); return; } -EXPORT_SYMBOL(omap_pm_dsp_set_min_opp); u8 omap_pm_dsp_get_opp(void) { pr_debug("OMAP PM: DSP requests current DSP OPP ID\n"); return resource_get_level("vdd1_opp"); } -EXPORT_SYMBOL(omap_pm_dsp_get_opp); u8 omap_pm_vdd1_get_opp(void) { pr_debug("OMAP PM: User requests current VDD1 OPP\n"); return resource_get_level("vdd1_opp"); } -EXPORT_SYMBOL(omap_pm_vdd1_get_opp); u8 omap_pm_vdd2_get_opp(void) { pr_debug("OMAP PM: User requests current VDD2 OPP\n"); return resource_get_level("vdd2_opp"); } -EXPORT_SYMBOL(omap_pm_vdd2_get_opp); /* * CPUFreq-originated constraint @@ -261,14 +256,12 @@ void omap_pm_cpu_set_freq(unsigned long f) resource_request("mpu_freq", &dummy_cpufreq_dev, f); return; } -EXPORT_SYMBOL(omap_pm_cpu_set_freq); unsigned long omap_pm_cpu_get_freq(void) { pr_debug("OMAP PM: CPUFreq requests current CPU frequency\n"); return resource_get_level("mpu_freq"); } -EXPORT_SYMBOL(omap_pm_cpu_get_freq); /* * Device context loss tracking