Merge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: ACPI: replace acpi_integer by u64 ACPICA: Update version to 20100121. ACPICA: Remove unused uint32_struct type ACPICA: Disassembler: Remove obsolete "Integer64" field in parse object ACPICA: Remove obsolete ACPI_INTEGER (acpi_integer) type ACPICA: Predefined name repair: fix NULL package elements ACPICA: AcpiGetDevices: Eliminate unnecessary _STA calls ACPICA: Update all ACPICA copyrights and signons to 2010 ACPICA: Update for new gcc-4 warning options
This commit is contained in:
@@ -57,7 +57,7 @@ static struct acpi_driver toshiba_bt_rfkill_driver = {
|
||||
static int toshiba_bluetooth_enable(acpi_handle handle)
|
||||
{
|
||||
acpi_status res1, res2;
|
||||
acpi_integer result;
|
||||
u64 result;
|
||||
|
||||
/*
|
||||
* Query ACPI to verify RFKill switch is set to 'on'.
|
||||
@@ -95,7 +95,7 @@ static int toshiba_bt_resume(struct acpi_device *device)
|
||||
static int toshiba_bt_rfkill_add(struct acpi_device *device)
|
||||
{
|
||||
acpi_status status;
|
||||
acpi_integer bt_present;
|
||||
u64 bt_present;
|
||||
int result = -ENODEV;
|
||||
|
||||
/*
|
||||
|
||||
@@ -796,7 +796,7 @@ static __init acpi_status parse_wdg(acpi_handle handle)
|
||||
*/
|
||||
static acpi_status
|
||||
acpi_wmi_ec_space_handler(u32 function, acpi_physical_address address,
|
||||
u32 bits, acpi_integer * value,
|
||||
u32 bits, u64 *value,
|
||||
void *handler_context, void *region_context)
|
||||
{
|
||||
int result = 0, i = 0;
|
||||
@@ -813,7 +813,7 @@ acpi_wmi_ec_space_handler(u32 function, acpi_physical_address address,
|
||||
|
||||
if (function == ACPI_READ) {
|
||||
result = ec_read(address, &temp);
|
||||
(*value) |= ((acpi_integer)temp) << i;
|
||||
(*value) |= ((u64)temp) << i;
|
||||
} else {
|
||||
temp = 0xff & ((*value) >> i);
|
||||
result = ec_write(address, temp);
|
||||
|
||||
Reference in New Issue
Block a user