]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/acpi/scan.c
Merge branch 'wakeup-etc-rafael' into release
[karo-tx-linux.git] / drivers / acpi / scan.c
index 148e7492d7365282f38acb41f88422243a0691c8..64d4da0d6d5255bbbd7112f44c4d9a88f045fef0 100644 (file)
@@ -803,7 +803,7 @@ static void acpi_bus_set_run_wake_flags(struct acpi_device *device)
        /* Power button, Lid switch always enable wakeup */
        if (!acpi_match_device_ids(device, button_device_ids)) {
                device->wakeup.flags.run_wake = 1;
-               device->wakeup.flags.always_enabled = 1;
+               device_set_wakeup_capable(&device->dev, true);
                return;
        }