aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-20 18:19:43 -0400
committerMatthew Garrett <mjg@redhat.com>2010-08-03 09:48:59 -0400
commitfedae5ad61fc213eda78d4905316eb50e35b6c8f (patch)
tree38ab1b8fbc89f39fd3c923b5c2d19b9a3ed63ed0 /drivers/platform
parent3bf460f7b2767df63b76257332c4a9a29d5733c1 (diff)
acerhdf: make needlessly global symbols static
The following symbols are needlessly defined global: thz_dev cl_dev acerhdf_dev acerhdf_dev_ops acerhdf_cooling_ops This patch makes the symbols static. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Borislav Petkov <bp@alien8.de> Acked-by: Peter Feuerer <peter@piie.net> Cc: Matthew Garrett <mjg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/acerhdf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c
index cfc0a5cd3c7d..4ce28d901b9a 100644
--- a/drivers/platform/x86/acerhdf.c
+++ b/drivers/platform/x86/acerhdf.c
@@ -92,9 +92,9 @@ static unsigned int fanstate = ACERHDF_FAN_AUTO;
92static char force_bios[16]; 92static char force_bios[16];
93static char force_product[16]; 93static char force_product[16];
94static unsigned int prev_interval; 94static unsigned int prev_interval;
95struct thermal_zone_device *thz_dev; 95static struct thermal_zone_device *thz_dev;
96struct thermal_cooling_device *cl_dev; 96static struct thermal_cooling_device *cl_dev;
97struct platform_device *acerhdf_dev; 97static struct platform_device *acerhdf_dev;
98 98
99module_param(kernelmode, uint, 0); 99module_param(kernelmode, uint, 0);
100MODULE_PARM_DESC(kernelmode, "Kernel mode fan control on / off"); 100MODULE_PARM_DESC(kernelmode, "Kernel mode fan control on / off");
@@ -406,7 +406,7 @@ static int acerhdf_get_crit_temp(struct thermal_zone_device *thermal,
406} 406}
407 407
408/* bind callback functions to thermalzone */ 408/* bind callback functions to thermalzone */
409struct thermal_zone_device_ops acerhdf_dev_ops = { 409static struct thermal_zone_device_ops acerhdf_dev_ops = {
410 .bind = acerhdf_bind, 410 .bind = acerhdf_bind,
411 .unbind = acerhdf_unbind, 411 .unbind = acerhdf_unbind,
412 .get_temp = acerhdf_get_ec_temp, 412 .get_temp = acerhdf_get_ec_temp,
@@ -481,7 +481,7 @@ err_out:
481} 481}
482 482
483/* bind fan callbacks to fan device */ 483/* bind fan callbacks to fan device */
484struct thermal_cooling_device_ops acerhdf_cooling_ops = { 484static struct thermal_cooling_device_ops acerhdf_cooling_ops = {
485 .get_max_state = acerhdf_get_max_state, 485 .get_max_state = acerhdf_get_max_state,
486 .get_cur_state = acerhdf_get_cur_state, 486 .get_cur_state = acerhdf_get_cur_state,
487 .set_cur_state = acerhdf_set_cur_state, 487 .set_cur_state = acerhdf_set_cur_state,