diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-01-27 21:53:19 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-01-28 01:47:33 -0500 |
commit | 439913fffd39374c3737186b22d2d56c3a0ae526 (patch) | |
tree | f6d5c809c1b77950a2cf7174fdee8667d527c87b /drivers/acpi/ec.c | |
parent | aea9c04bcc257caad9841c283b90ec1b28267fae (diff) |
ACPI: replace acpi_integer by u64
acpi_integer is now obsolete and removed from the ACPICA code base,
replaced by u64.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index d6471bb6852f..748ced85dec5 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -589,7 +589,7 @@ static u32 acpi_ec_gpe_handler(void *data) | |||
589 | 589 | ||
590 | static acpi_status | 590 | static acpi_status |
591 | acpi_ec_space_handler(u32 function, acpi_physical_address address, | 591 | acpi_ec_space_handler(u32 function, acpi_physical_address address, |
592 | u32 bits, acpi_integer *value, | 592 | u32 bits, u64 *value, |
593 | void *handler_context, void *region_context) | 593 | void *handler_context, void *region_context) |
594 | { | 594 | { |
595 | struct acpi_ec *ec = handler_context; | 595 | struct acpi_ec *ec = handler_context; |
@@ -620,7 +620,7 @@ acpi_ec_space_handler(u32 function, acpi_physical_address address, | |||
620 | ++address; | 620 | ++address; |
621 | if (function == ACPI_READ) { | 621 | if (function == ACPI_READ) { |
622 | result = acpi_ec_read(ec, address, &temp); | 622 | result = acpi_ec_read(ec, address, &temp); |
623 | (*value) |= ((acpi_integer)temp) << i; | 623 | (*value) |= ((u64)temp) << i; |
624 | } else { | 624 | } else { |
625 | temp = 0xff & ((*value) >> i); | 625 | temp = 0xff & ((*value) >> i); |
626 | result = acpi_ec_write(ec, address, temp); | 626 | result = acpi_ec_write(ec, address, temp); |