sync with trunk r46493
[reactos.git] / drivers / bus / acpi / busmgr / button.c
index 5e3eb2b..9344a5f 100644 (file)
@@ -57,6 +57,11 @@ struct acpi_button {
        UINT8                   type;
        unsigned long           pushed;
 };
+
+struct acpi_device *power_button;
+struct acpi_device *sleep_button;
+struct acpi_device *lid_button;
+
 /* --------------------------------------------------------------------------
                                 Driver Interface
    -------------------------------------------------------------------------- */
@@ -113,10 +118,6 @@ acpi_button_add (
        ACPI_STATUS             status = AE_OK;
        struct acpi_button      *button = NULL;
 
-       static struct acpi_device *power_button;
-       static struct acpi_device *sleep_button;
-       static struct acpi_device *lid_button;
-
        ACPI_FUNCTION_TRACE("acpi_button_add");
 
        if (!device)