projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ACPI]
[reactos.git]
/
reactos
/
drivers
/
bus
/
acpi
/
busmgr
/
button.c
diff --git
a/reactos/drivers/bus/acpi/busmgr/button.c
b/reactos/drivers/bus/acpi/busmgr/button.c
index
5e3eb2b
..
9344a5f
100644
(file)
--- a/
reactos/drivers/bus/acpi/busmgr/button.c
+++ b/
reactos/drivers/bus/acpi/busmgr/button.c
@@
-57,6
+57,11
@@
struct acpi_button {
UINT8 type;
unsigned long pushed;
};
UINT8 type;
unsigned long pushed;
};
+
+struct acpi_device *power_button;
+struct acpi_device *sleep_button;
+struct acpi_device *lid_button;
+
/* --------------------------------------------------------------------------
Driver Interface
-------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
Driver Interface
-------------------------------------------------------------------------- */
@@
-113,10
+118,6
@@
acpi_button_add (
ACPI_STATUS status = AE_OK;
struct acpi_button *button = NULL;
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)
ACPI_FUNCTION_TRACE("acpi_button_add");
if (!device)