aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/bus.c')
-rw-r--r--drivers/acpi/bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index b11400e2f856..c797c6473f31 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -94,7 +94,7 @@ EXPORT_SYMBOL(acpi_bus_get_device);
94int acpi_bus_get_status(struct acpi_device *device) 94int acpi_bus_get_status(struct acpi_device *device)
95{ 95{
96 acpi_status status = AE_OK; 96 acpi_status status = AE_OK;
97 unsigned long sta = 0; 97 unsigned long long sta = 0;
98 98
99 99
100 if (!device) 100 if (!device)
@@ -172,7 +172,7 @@ int acpi_bus_get_power(acpi_handle handle, int *state)
172 int result = 0; 172 int result = 0;
173 acpi_status status = 0; 173 acpi_status status = 0;
174 struct acpi_device *device = NULL; 174 struct acpi_device *device = NULL;
175 unsigned long psc = 0; 175 unsigned long long psc = 0;
176 176
177 177
178 result = acpi_bus_get_device(handle, &device); 178 result = acpi_bus_get_device(handle, &device);