diff options
Diffstat (limited to 'drivers/acpi/hardware/hwacpi.c')
-rw-r--r-- | drivers/acpi/hardware/hwacpi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/hardware/hwacpi.c b/drivers/acpi/hardware/hwacpi.c index 1bb3463d7040..20a335cc9bea 100644 --- a/drivers/acpi/hardware/hwacpi.c +++ b/drivers/acpi/hardware/hwacpi.c | |||
@@ -204,18 +204,18 @@ u32 acpi_hw_get_mode(void) | |||
204 | * system does not support mode transition. | 204 | * system does not support mode transition. |
205 | */ | 205 | */ |
206 | if (!acpi_gbl_FADT->smi_cmd) { | 206 | if (!acpi_gbl_FADT->smi_cmd) { |
207 | return_VALUE(ACPI_SYS_MODE_ACPI); | 207 | return_UINT32(ACPI_SYS_MODE_ACPI); |
208 | } | 208 | } |
209 | 209 | ||
210 | status = | 210 | status = |
211 | acpi_get_register(ACPI_BITREG_SCI_ENABLE, &value, ACPI_MTX_LOCK); | 211 | acpi_get_register(ACPI_BITREG_SCI_ENABLE, &value, ACPI_MTX_LOCK); |
212 | if (ACPI_FAILURE(status)) { | 212 | if (ACPI_FAILURE(status)) { |
213 | return_VALUE(ACPI_SYS_MODE_LEGACY); | 213 | return_UINT32(ACPI_SYS_MODE_LEGACY); |
214 | } | 214 | } |
215 | 215 | ||
216 | if (value) { | 216 | if (value) { |
217 | return_VALUE(ACPI_SYS_MODE_ACPI); | 217 | return_UINT32(ACPI_SYS_MODE_ACPI); |
218 | } else { | 218 | } else { |
219 | return_VALUE(ACPI_SYS_MODE_LEGACY); | 219 | return_UINT32(ACPI_SYS_MODE_LEGACY); |
220 | } | 220 | } |
221 | } | 221 | } |