diff options
author | Nishanth Menon <nm@ti.com> | 2013-01-28 13:26:15 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-01 18:01:15 -0500 |
commit | b2ccd7632939b8c8d53ea1c4aa21ebf8d0add7cf (patch) | |
tree | aceab0299a2fe0486174205cc3d23a80c53fb8e4 | |
parent | 6754f556103be5bd172263b1075ddbb7157afbad (diff) |
PM / OPP: switch exported symbols to GPL variant
We are GPLV2 library, so be clear in the symbols exported as well.
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>
-rw-r--r-- | drivers/base/power/opp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index 50b2831e027d..0dbe270b85f8 100644 --- a/drivers/base/power/opp.c +++ b/drivers/base/power/opp.c | |||
@@ -162,7 +162,7 @@ unsigned long opp_get_voltage(struct opp *opp) | |||
162 | 162 | ||
163 | return v; | 163 | return v; |
164 | } | 164 | } |
165 | EXPORT_SYMBOL(opp_get_voltage); | 165 | EXPORT_SYMBOL_GPL(opp_get_voltage); |
166 | 166 | ||
167 | /** | 167 | /** |
168 | * opp_get_freq() - Gets the frequency corresponding to an available opp | 168 | * opp_get_freq() - Gets the frequency corresponding to an available opp |
@@ -192,7 +192,7 @@ unsigned long opp_get_freq(struct opp *opp) | |||
192 | 192 | ||
193 | return f; | 193 | return f; |
194 | } | 194 | } |
195 | EXPORT_SYMBOL(opp_get_freq); | 195 | EXPORT_SYMBOL_GPL(opp_get_freq); |
196 | 196 | ||
197 | /** | 197 | /** |
198 | * opp_get_opp_count() - Get number of opps available in the opp list | 198 | * opp_get_opp_count() - Get number of opps available in the opp list |
@@ -225,7 +225,7 @@ int opp_get_opp_count(struct device *dev) | |||
225 | 225 | ||
226 | return count; | 226 | return count; |
227 | } | 227 | } |
228 | EXPORT_SYMBOL(opp_get_opp_count); | 228 | EXPORT_SYMBOL_GPL(opp_get_opp_count); |
229 | 229 | ||
230 | /** | 230 | /** |
231 | * opp_find_freq_exact() - search for an exact frequency | 231 | * opp_find_freq_exact() - search for an exact frequency |
@@ -276,7 +276,7 @@ struct opp *opp_find_freq_exact(struct device *dev, unsigned long freq, | |||
276 | 276 | ||
277 | return opp; | 277 | return opp; |
278 | } | 278 | } |
279 | EXPORT_SYMBOL(opp_find_freq_exact); | 279 | EXPORT_SYMBOL_GPL(opp_find_freq_exact); |
280 | 280 | ||
281 | /** | 281 | /** |
282 | * opp_find_freq_ceil() - Search for an rounded ceil freq | 282 | * opp_find_freq_ceil() - Search for an rounded ceil freq |
@@ -323,7 +323,7 @@ struct opp *opp_find_freq_ceil(struct device *dev, unsigned long *freq) | |||
323 | 323 | ||
324 | return opp; | 324 | return opp; |
325 | } | 325 | } |
326 | EXPORT_SYMBOL(opp_find_freq_ceil); | 326 | EXPORT_SYMBOL_GPL(opp_find_freq_ceil); |
327 | 327 | ||
328 | /** | 328 | /** |
329 | * opp_find_freq_floor() - Search for a rounded floor freq | 329 | * opp_find_freq_floor() - Search for a rounded floor freq |
@@ -374,7 +374,7 @@ struct opp *opp_find_freq_floor(struct device *dev, unsigned long *freq) | |||
374 | 374 | ||
375 | return opp; | 375 | return opp; |
376 | } | 376 | } |
377 | EXPORT_SYMBOL(opp_find_freq_floor); | 377 | EXPORT_SYMBOL_GPL(opp_find_freq_floor); |
378 | 378 | ||
379 | /** | 379 | /** |
380 | * opp_add() - Add an OPP table from a table definitions | 380 | * opp_add() - Add an OPP table from a table definitions |
@@ -568,7 +568,7 @@ int opp_enable(struct device *dev, unsigned long freq) | |||
568 | { | 568 | { |
569 | return opp_set_availability(dev, freq, true); | 569 | return opp_set_availability(dev, freq, true); |
570 | } | 570 | } |
571 | EXPORT_SYMBOL(opp_enable); | 571 | EXPORT_SYMBOL_GPL(opp_enable); |
572 | 572 | ||
573 | /** | 573 | /** |
574 | * opp_disable() - Disable a specific OPP | 574 | * opp_disable() - Disable a specific OPP |
@@ -590,7 +590,7 @@ int opp_disable(struct device *dev, unsigned long freq) | |||
590 | { | 590 | { |
591 | return opp_set_availability(dev, freq, false); | 591 | return opp_set_availability(dev, freq, false); |
592 | } | 592 | } |
593 | EXPORT_SYMBOL(opp_disable); | 593 | EXPORT_SYMBOL_GPL(opp_disable); |
594 | 594 | ||
595 | #ifdef CONFIG_CPU_FREQ | 595 | #ifdef CONFIG_CPU_FREQ |
596 | /** | 596 | /** |