aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-10-11 02:30:14 -0400
committerLen Brown <len.brown@intel.com>2008-10-22 23:37:36 -0400
commit3e2dab9a1c2deb03c311eb3f83466009147ed4d3 (patch)
treef1918740d021c0e9658250a016852827a2ca863d /drivers
parentf1e6d3173ece6d60b4d5aeacd3b91a33ff8ec9d3 (diff)
panasonic-laptop: fix build
sync with acpi_driver_data(device) and acpi_evaluate_integer(..., long long) changes that happened since this driver was checked in. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/panasonic-laptop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/panasonic-laptop.c b/drivers/misc/panasonic-laptop.c
index 9aecda5a399c..a2cb598d8ab5 100644
--- a/drivers/misc/panasonic-laptop.c
+++ b/drivers/misc/panasonic-laptop.c
@@ -252,7 +252,7 @@ static int acpi_pcc_write_sset(struct pcc_acpi *pcc, int func, int val)
252 252
253static inline int acpi_pcc_get_sqty(struct acpi_device *device) 253static inline int acpi_pcc_get_sqty(struct acpi_device *device)
254{ 254{
255 unsigned long s; 255 unsigned long long s;
256 acpi_status status; 256 acpi_status status;
257 257
258 ACPI_FUNCTION_TRACE("acpi_pcc_get_sqty"); 258 ACPI_FUNCTION_TRACE("acpi_pcc_get_sqty");
@@ -500,7 +500,7 @@ static void acpi_pcc_generate_keyinput(struct pcc_acpi *pcc)
500 struct input_dev *hotk_input_dev = pcc->input_dev; 500 struct input_dev *hotk_input_dev = pcc->input_dev;
501 int rc; 501 int rc;
502 int key_code, hkey_num; 502 int key_code, hkey_num;
503 unsigned long result; 503 unsigned long long result;
504 504
505 ACPI_FUNCTION_TRACE("acpi_pcc_generate_keyinput"); 505 ACPI_FUNCTION_TRACE("acpi_pcc_generate_keyinput");
506 506
@@ -645,7 +645,7 @@ static int acpi_pcc_hotkey_add(struct acpi_device *device)
645 pcc->device = device; 645 pcc->device = device;
646 pcc->handle = device->handle; 646 pcc->handle = device->handle;
647 pcc->num_sifr = num_sifr; 647 pcc->num_sifr = num_sifr;
648 acpi_driver_data(device) = pcc; 648 device->driver_data = pcc;
649 strcpy(acpi_device_name(device), ACPI_PCC_DEVICE_NAME); 649 strcpy(acpi_device_name(device), ACPI_PCC_DEVICE_NAME);
650 strcpy(acpi_device_class(device), ACPI_PCC_CLASS); 650 strcpy(acpi_device_class(device), ACPI_PCC_CLASS);
651 651