diff mbox

OMAP PM: Remove symbol exports

Message ID alpine.DEB.2.00.0910271348370.10228@utopia.booyaka.com (mailing list archive)
State Accepted
Delegated to: Kevin Hilman
Headers show

Commit Message

Paul Walmsley Oct. 27, 2009, 7:49 p.m. UTC
None
diff mbox

Patch

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