From 4a73950664081979f05dd423cab6dedc7aeb92c8 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 20 Jul 2010 15:19:43 -0700 Subject: [PATCH] --- yaml --- r: 202471 b: refs/heads/master c: fedae5ad61fc213eda78d4905316eb50e35b6c8f h: refs/heads/master i: 202469: 86892a6dd9a6f68f1c1e30457684538283b10701 202467: ba7b18686d0b58beb6e7601b53e8c3696b318df6 202463: 69d7d140108236982b30fb17d804935aaa1c5aed v: v3 --- [refs] | 2 +- trunk/drivers/platform/x86/acerhdf.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 2926c58da426..3ed6b3bf8100 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3bf460f7b2767df63b76257332c4a9a29d5733c1 +refs/heads/master: fedae5ad61fc213eda78d4905316eb50e35b6c8f diff --git a/trunk/drivers/platform/x86/acerhdf.c b/trunk/drivers/platform/x86/acerhdf.c index cfc0a5cd3c7d..4ce28d901b9a 100644 --- a/trunk/drivers/platform/x86/acerhdf.c +++ b/trunk/drivers/platform/x86/acerhdf.c @@ -92,9 +92,9 @@ static unsigned int fanstate = ACERHDF_FAN_AUTO; static char force_bios[16]; static char force_product[16]; static unsigned int prev_interval; -struct thermal_zone_device *thz_dev; -struct thermal_cooling_device *cl_dev; -struct platform_device *acerhdf_dev; +static struct thermal_zone_device *thz_dev; +static struct thermal_cooling_device *cl_dev; +static struct platform_device *acerhdf_dev; module_param(kernelmode, uint, 0); 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, } /* bind callback functions to thermalzone */ -struct thermal_zone_device_ops acerhdf_dev_ops = { +static struct thermal_zone_device_ops acerhdf_dev_ops = { .bind = acerhdf_bind, .unbind = acerhdf_unbind, .get_temp = acerhdf_get_ec_temp, @@ -481,7 +481,7 @@ static int acerhdf_set_cur_state(struct thermal_cooling_device *cdev, } /* bind fan callbacks to fan device */ -struct thermal_cooling_device_ops acerhdf_cooling_ops = { +static struct thermal_cooling_device_ops acerhdf_cooling_ops = { .get_max_state = acerhdf_get_max_state, .get_cur_state = acerhdf_get_cur_state, .set_cur_state = acerhdf_set_cur_state,