diff options
Diffstat (limited to 'drivers/platform/x86/acerhdf.c')
-rw-r--r-- | drivers/platform/x86/acerhdf.c | 10 |
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; | |||
92 | static char force_bios[16]; | 92 | static char force_bios[16]; |
93 | static char force_product[16]; | 93 | static char force_product[16]; |
94 | static unsigned int prev_interval; | 94 | static unsigned int prev_interval; |
95 | struct thermal_zone_device *thz_dev; | 95 | static struct thermal_zone_device *thz_dev; |
96 | struct thermal_cooling_device *cl_dev; | 96 | static struct thermal_cooling_device *cl_dev; |
97 | struct platform_device *acerhdf_dev; | 97 | static struct platform_device *acerhdf_dev; |
98 | 98 | ||
99 | module_param(kernelmode, uint, 0); | 99 | module_param(kernelmode, uint, 0); |
100 | MODULE_PARM_DESC(kernelmode, "Kernel mode fan control on / off"); | 100 | MODULE_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 */ |
409 | struct thermal_zone_device_ops acerhdf_dev_ops = { | 409 | static 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 */ |
484 | struct thermal_cooling_device_ops acerhdf_cooling_ops = { | 484 | static 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, |