diff options
Diffstat (limited to 'source/components/hardware/hwsleep.c')
-rw-r--r-- | source/components/hardware/hwsleep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/components/hardware/hwsleep.c b/source/components/hardware/hwsleep.c index 016f62be3aa09..d503f1cf923b7 100644 --- a/source/components/hardware/hwsleep.c +++ b/source/components/hardware/hwsleep.c @@ -466,11 +466,11 @@ AcpiHwLegacyWake ( /* Enable sleep button */ - (void) AcpiWriteBitRegister ( + (void) AcpiWriteBitRegister ( AcpiGbl_FixedEventInfo[ACPI_EVENT_SLEEP_BUTTON].EnableRegisterId, ACPI_ENABLE_EVENT); - (void) AcpiWriteBitRegister ( + (void) AcpiWriteBitRegister ( AcpiGbl_FixedEventInfo[ACPI_EVENT_SLEEP_BUTTON].StatusRegisterId, ACPI_CLEAR_STATUS); |