diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acpi_bus.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index a09538eb61e7..d7dd52615456 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -92,13 +92,14 @@ typedef int (*acpi_op_remove) (struct acpi_device * device, int type); | |||
92 | typedef int (*acpi_op_lock) (struct acpi_device * device, int type); | 92 | typedef int (*acpi_op_lock) (struct acpi_device * device, int type); |
93 | typedef int (*acpi_op_start) (struct acpi_device * device); | 93 | typedef int (*acpi_op_start) (struct acpi_device * device); |
94 | typedef int (*acpi_op_stop) (struct acpi_device * device, int type); | 94 | typedef int (*acpi_op_stop) (struct acpi_device * device, int type); |
95 | typedef int (*acpi_op_suspend) (struct acpi_device * device, int state); | 95 | typedef int (*acpi_op_suspend) (struct acpi_device * device, pm_message_t state); |
96 | typedef int (*acpi_op_resume) (struct acpi_device * device, int state); | 96 | typedef int (*acpi_op_resume) (struct acpi_device * device); |
97 | typedef int (*acpi_op_scan) (struct acpi_device * device); | 97 | typedef int (*acpi_op_scan) (struct acpi_device * device); |
98 | typedef int (*acpi_op_bind) (struct acpi_device * device); | 98 | typedef int (*acpi_op_bind) (struct acpi_device * device); |
99 | typedef int (*acpi_op_unbind) (struct acpi_device * device); | 99 | typedef int (*acpi_op_unbind) (struct acpi_device * device); |
100 | typedef int (*acpi_op_match) (struct acpi_device * device, | 100 | typedef int (*acpi_op_match) (struct acpi_device * device, |
101 | struct acpi_driver * driver); | 101 | struct acpi_driver * driver); |
102 | typedef int (*acpi_op_shutdown) (struct acpi_device * device); | ||
102 | 103 | ||
103 | struct acpi_bus_ops { | 104 | struct acpi_bus_ops { |
104 | u32 acpi_op_add:1; | 105 | u32 acpi_op_add:1; |
@@ -112,7 +113,8 @@ struct acpi_bus_ops { | |||
112 | u32 acpi_op_bind:1; | 113 | u32 acpi_op_bind:1; |
113 | u32 acpi_op_unbind:1; | 114 | u32 acpi_op_unbind:1; |
114 | u32 acpi_op_match:1; | 115 | u32 acpi_op_match:1; |
115 | u32 reserved:21; | 116 | u32 acpi_op_shutdown:1; |
117 | u32 reserved:20; | ||
116 | }; | 118 | }; |
117 | 119 | ||
118 | struct acpi_device_ops { | 120 | struct acpi_device_ops { |
@@ -127,6 +129,7 @@ struct acpi_device_ops { | |||
127 | acpi_op_bind bind; | 129 | acpi_op_bind bind; |
128 | acpi_op_unbind unbind; | 130 | acpi_op_unbind unbind; |
129 | acpi_op_match match; | 131 | acpi_op_match match; |
132 | acpi_op_shutdown shutdown; | ||
130 | }; | 133 | }; |
131 | 134 | ||
132 | struct acpi_driver { | 135 | struct acpi_driver { |