diff options
author | Mark Langsdorf <mark.langsdorf@calxeda.com> | 2013-01-28 13:26:16 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-01 18:01:16 -0500 |
commit | 74c46c6eaf9724edbfc12cc67e62773b708eb2ed (patch) | |
tree | 65723309e11ad590424c59586d8dedde05d3fa07 /drivers/base | |
parent | b2ccd7632939b8c8d53ea1c4aa21ebf8d0add7cf (diff) |
PM / OPP: Export more symbols for module usage
Export cpufreq helpers in OPP to make the cpufreq-core0 and highbank-cpufreq
drivers loadable as modules.
Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/power/opp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index 0dbe270b85f8..32ee0fc7ea54 100644 --- a/drivers/base/power/opp.c +++ b/drivers/base/power/opp.c | |||
@@ -661,6 +661,7 @@ int opp_init_cpufreq_table(struct device *dev, | |||
661 | 661 | ||
662 | return 0; | 662 | return 0; |
663 | } | 663 | } |
664 | EXPORT_SYMBOL_GPL(opp_init_cpufreq_table); | ||
664 | 665 | ||
665 | /** | 666 | /** |
666 | * opp_free_cpufreq_table() - free the cpufreq table | 667 | * opp_free_cpufreq_table() - free the cpufreq table |
@@ -678,6 +679,7 @@ void opp_free_cpufreq_table(struct device *dev, | |||
678 | kfree(*table); | 679 | kfree(*table); |
679 | *table = NULL; | 680 | *table = NULL; |
680 | } | 681 | } |
682 | EXPORT_SYMBOL_GPL(opp_free_cpufreq_table); | ||
681 | #endif /* CONFIG_CPU_FREQ */ | 683 | #endif /* CONFIG_CPU_FREQ */ |
682 | 684 | ||
683 | /** | 685 | /** |
@@ -738,4 +740,5 @@ int of_init_opp_table(struct device *dev) | |||
738 | 740 | ||
739 | return 0; | 741 | return 0; |
740 | } | 742 | } |
743 | EXPORT_SYMBOL_GPL(of_init_opp_table); | ||
741 | #endif | 744 | #endif |