aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/fujitsu-laptop.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@linux.intel.com>2008-10-10 02:22:59 -0400
committerLen Brown <len.brown@intel.com>2008-10-11 02:47:33 -0400
commit27663c5855b10af9ec67bc7dfba001426ba21222 (patch)
tree2b8c520bb57a792045d7d072398a4d840fada6c0 /drivers/misc/fujitsu-laptop.c
parent3fa8749e584b55f1180411ab1b51117190bac1e5 (diff)
ACPI: Change acpi_evaluate_integer to support 64-bit on 32-bit kernels
As of version 2.0, ACPI can return 64-bit integers. The current acpi_evaluate_integer only supports 64-bit integers on 64-bit platforms. Change the argument to take a pointer to an acpi_integer so we support 64-bit integers on all platforms. lenb: replaced use of "acpi_integer" with "unsigned long long" lenb: fixed bug in acpi_thermal_trips_update() Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/fujitsu-laptop.c')
-rw-r--r--drivers/misc/fujitsu-laptop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/fujitsu-laptop.c b/drivers/misc/fujitsu-laptop.c
index 3e56203e4947..efd395a64720 100644
--- a/drivers/misc/fujitsu-laptop.c
+++ b/drivers/misc/fujitsu-laptop.c
@@ -224,7 +224,7 @@ static int set_lcd_level_alt(int level)
224 224
225static int get_lcd_level(void) 225static int get_lcd_level(void)
226{ 226{
227 unsigned long state = 0; 227 unsigned long long state = 0;
228 acpi_status status = AE_OK; 228 acpi_status status = AE_OK;
229 229
230 vdbg_printk(FUJLAPTOP_DBG_TRACE, "get lcd level via GBLL\n"); 230 vdbg_printk(FUJLAPTOP_DBG_TRACE, "get lcd level via GBLL\n");
@@ -246,7 +246,7 @@ static int get_lcd_level(void)
246 246
247static int get_max_brightness(void) 247static int get_max_brightness(void)
248{ 248{
249 unsigned long state = 0; 249 unsigned long long state = 0;
250 acpi_status status = AE_OK; 250 acpi_status status = AE_OK;
251 251
252 vdbg_printk(FUJLAPTOP_DBG_TRACE, "get max lcd level via RBLL\n"); 252 vdbg_printk(FUJLAPTOP_DBG_TRACE, "get max lcd level via RBLL\n");
@@ -263,7 +263,7 @@ static int get_max_brightness(void)
263 263
264static int get_lcd_level_alt(void) 264static int get_lcd_level_alt(void)
265{ 265{
266 unsigned long state = 0; 266 unsigned long long state = 0;
267 acpi_status status = AE_OK; 267 acpi_status status = AE_OK;
268 268
269 vdbg_printk(FUJLAPTOP_DBG_TRACE, "get lcd level via GBLS\n"); 269 vdbg_printk(FUJLAPTOP_DBG_TRACE, "get lcd level via GBLS\n");
@@ -384,7 +384,7 @@ static ssize_t store_lcd_level(struct device *dev,
384 384
385static int get_irb(void) 385static int get_irb(void)
386{ 386{
387 unsigned long state = 0; 387 unsigned long long state = 0;
388 acpi_status status = AE_OK; 388 acpi_status status = AE_OK;
389 389
390 vdbg_printk(FUJLAPTOP_DBG_TRACE, "Get irb\n"); 390 vdbg_printk(FUJLAPTOP_DBG_TRACE, "Get irb\n");