Subject: [PATCH] [acpi button] Update for new fixed event macro Signed-off-by: Patrick Mochel --- drivers/acpi/drivers/button/event.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) applies-to: 053a31c6311d32205be7dd5e45202a6ea65e9d90 a211735a5e94ed6b838e76fa1ad6919e2e1a38c1 diff --git a/drivers/acpi/drivers/button/event.c b/drivers/acpi/drivers/button/event.c index 0b5517f..f7a95a3 100644 --- a/drivers/acpi/drivers/button/event.c +++ b/drivers/acpi/drivers/button/event.c @@ -31,9 +31,9 @@ static void button_notify(acpi_handle ha return_VOID; } -static u32 button_fixed[] = { - ACPI_EVENT_POWER_BUTTON, - ACPI_EVENT_SLEEP_BUTTON, -}; +declare_acpi_fixed(button, + ACPI_BUTTON_NOTIFY_STATUS, + ACPI_EVENT_POWER_BUTTON, + ACPI_EVENT_SLEEP_BUTTON); -acpi_device_event_fixed(button, ACPI_BUTTON_NOTIFY_STATUS); +acpi_device_event_fixed(button); --- 0.99.9.GIT