aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r--drivers/acpi/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 7491a52ad97a..fb7fc24fe727 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -753,6 +753,7 @@ static void acpi_bus_set_run_wake_flags(struct acpi_device *device)
753 acpi_event_status event_status; 753 acpi_event_status event_status;
754 754
755 device->wakeup.run_wake_count = 0; 755 device->wakeup.run_wake_count = 0;
756 device->wakeup.flags.notifier_present = 0;
756 757
757 /* Power button, Lid switch always enable wakeup */ 758 /* Power button, Lid switch always enable wakeup */
758 if (!acpi_match_device_ids(device, button_device_ids)) { 759 if (!acpi_match_device_ids(device, button_device_ids)) {