diff options
Diffstat (limited to 'drivers/acpi/acpica/hwregs.c')
-rw-r--r-- | drivers/acpi/acpica/hwregs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/hwregs.c b/drivers/acpi/acpica/hwregs.c index 611736266f9f..f8ee0a7fd44d 100644 --- a/drivers/acpi/acpica/hwregs.c +++ b/drivers/acpi/acpica/hwregs.c | |||
@@ -222,7 +222,7 @@ acpi_hw_register_read(u32 register_id, u32 * return_value) | |||
222 | case ACPI_REGISTER_SMI_COMMAND_BLOCK: /* 8-bit access */ | 222 | case ACPI_REGISTER_SMI_COMMAND_BLOCK: /* 8-bit access */ |
223 | 223 | ||
224 | status = | 224 | status = |
225 | acpi_os_read_port(acpi_gbl_FADT.smi_command, &value, 8); | 225 | acpi_hw_read_port(acpi_gbl_FADT.smi_command, &value, 8); |
226 | break; | 226 | break; |
227 | 227 | ||
228 | default: | 228 | default: |
@@ -356,7 +356,7 @@ acpi_status acpi_hw_register_write(u32 register_id, u32 value) | |||
356 | /* SMI_CMD is currently always in IO space */ | 356 | /* SMI_CMD is currently always in IO space */ |
357 | 357 | ||
358 | status = | 358 | status = |
359 | acpi_os_write_port(acpi_gbl_FADT.smi_command, value, 8); | 359 | acpi_hw_write_port(acpi_gbl_FADT.smi_command, value, 8); |
360 | break; | 360 | break; |
361 | 361 | ||
362 | default: | 362 | default: |