diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-17 13:11:57 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-24 12:34:37 -0400 |
commit | 243dbd9c606ff4f925496022762c8cf5b6e4a85e (patch) | |
tree | 5d847e82aa986665d503275f7dd2066eb312f980 /drivers/thermal/cpu_cooling.c | |
parent | 3b3c07485579b9a4ecaee718667c87f59c603686 (diff) |
thermal: cpu_cooling: use EXPORT_SYMBOL_GPL
Restrict the usage to GPL modules.
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Acked-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/cpu_cooling.c')
-rw-r--r-- | drivers/thermal/cpu_cooling.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index 82829d674720..fe0a8f593283 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c | |||
@@ -202,8 +202,7 @@ unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq) | |||
202 | return THERMAL_CSTATE_INVALID; | 202 | return THERMAL_CSTATE_INVALID; |
203 | return (unsigned long)val; | 203 | return (unsigned long)val; |
204 | } | 204 | } |
205 | 205 | EXPORT_SYMBOL_GPL(cpufreq_cooling_get_level); | |
206 | EXPORT_SYMBOL(cpufreq_cooling_get_level); | ||
207 | 206 | ||
208 | /** | 207 | /** |
209 | * get_cpu_frequency - get the absolute value of frequency from level. | 208 | * get_cpu_frequency - get the absolute value of frequency from level. |
@@ -416,7 +415,7 @@ struct thermal_cooling_device *cpufreq_cooling_register( | |||
416 | mutex_unlock(&cooling_cpufreq_lock); | 415 | mutex_unlock(&cooling_cpufreq_lock); |
417 | return cool_dev; | 416 | return cool_dev; |
418 | } | 417 | } |
419 | EXPORT_SYMBOL(cpufreq_cooling_register); | 418 | EXPORT_SYMBOL_GPL(cpufreq_cooling_register); |
420 | 419 | ||
421 | /** | 420 | /** |
422 | * cpufreq_cooling_unregister - function to remove cpufreq cooling device. | 421 | * cpufreq_cooling_unregister - function to remove cpufreq cooling device. |
@@ -440,4 +439,4 @@ void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) | |||
440 | release_idr(&cpufreq_idr, cpufreq_dev->id); | 439 | release_idr(&cpufreq_idr, cpufreq_dev->id); |
441 | kfree(cpufreq_dev); | 440 | kfree(cpufreq_dev); |
442 | } | 441 | } |
443 | EXPORT_SYMBOL(cpufreq_cooling_unregister); | 442 | EXPORT_SYMBOL_GPL(cpufreq_cooling_unregister); |