diff options
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r-- | include/acpi/acpi_bus.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index e9f6574930ef..08ec60c8366a 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -88,44 +88,28 @@ struct acpi_device; | |||
88 | 88 | ||
89 | typedef int (*acpi_op_add) (struct acpi_device * device); | 89 | typedef int (*acpi_op_add) (struct acpi_device * device); |
90 | typedef int (*acpi_op_remove) (struct acpi_device * device, int type); | 90 | typedef int (*acpi_op_remove) (struct acpi_device * device, int type); |
91 | typedef int (*acpi_op_lock) (struct acpi_device * device, int type); | ||
92 | typedef int (*acpi_op_start) (struct acpi_device * device); | 91 | typedef int (*acpi_op_start) (struct acpi_device * device); |
93 | typedef int (*acpi_op_stop) (struct acpi_device * device, int type); | 92 | typedef int (*acpi_op_stop) (struct acpi_device * device, int type); |
94 | typedef int (*acpi_op_suspend) (struct acpi_device * device, | 93 | typedef int (*acpi_op_suspend) (struct acpi_device * device, |
95 | pm_message_t state); | 94 | pm_message_t state); |
96 | typedef int (*acpi_op_resume) (struct acpi_device * device); | 95 | typedef int (*acpi_op_resume) (struct acpi_device * device); |
97 | typedef int (*acpi_op_scan) (struct acpi_device * device); | ||
98 | typedef int (*acpi_op_bind) (struct acpi_device * device); | 96 | typedef int (*acpi_op_bind) (struct acpi_device * device); |
99 | typedef int (*acpi_op_unbind) (struct acpi_device * device); | 97 | typedef int (*acpi_op_unbind) (struct acpi_device * device); |
100 | typedef int (*acpi_op_shutdown) (struct acpi_device * device); | ||
101 | 98 | ||
102 | struct acpi_bus_ops { | 99 | struct acpi_bus_ops { |
103 | u32 acpi_op_add:1; | 100 | u32 acpi_op_add:1; |
104 | u32 acpi_op_remove:1; | ||
105 | u32 acpi_op_lock:1; | ||
106 | u32 acpi_op_start:1; | 101 | u32 acpi_op_start:1; |
107 | u32 acpi_op_stop:1; | ||
108 | u32 acpi_op_suspend:1; | ||
109 | u32 acpi_op_resume:1; | ||
110 | u32 acpi_op_scan:1; | ||
111 | u32 acpi_op_bind:1; | ||
112 | u32 acpi_op_unbind:1; | ||
113 | u32 acpi_op_shutdown:1; | ||
114 | u32 reserved:21; | ||
115 | }; | 102 | }; |
116 | 103 | ||
117 | struct acpi_device_ops { | 104 | struct acpi_device_ops { |
118 | acpi_op_add add; | 105 | acpi_op_add add; |
119 | acpi_op_remove remove; | 106 | acpi_op_remove remove; |
120 | acpi_op_lock lock; | ||
121 | acpi_op_start start; | 107 | acpi_op_start start; |
122 | acpi_op_stop stop; | 108 | acpi_op_stop stop; |
123 | acpi_op_suspend suspend; | 109 | acpi_op_suspend suspend; |
124 | acpi_op_resume resume; | 110 | acpi_op_resume resume; |
125 | acpi_op_scan scan; | ||
126 | acpi_op_bind bind; | 111 | acpi_op_bind bind; |
127 | acpi_op_unbind unbind; | 112 | acpi_op_unbind unbind; |
128 | acpi_op_shutdown shutdown; | ||
129 | }; | 113 | }; |
130 | 114 | ||
131 | struct acpi_driver { | 115 | struct acpi_driver { |