diff options
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 63f2e6ed698f..fab9f70fe39d 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -192,6 +192,26 @@ extern int ec_transaction(u8 command, | |||
192 | 192 | ||
193 | #endif /*CONFIG_ACPI_EC*/ | 193 | #endif /*CONFIG_ACPI_EC*/ |
194 | 194 | ||
195 | #if defined(CONFIG_ACPI_WMI) || defined(CONFIG_ACPI_WMI_MODULE) | ||
196 | |||
197 | typedef void (*wmi_notify_handler) (u32 value, void *context); | ||
198 | |||
199 | extern acpi_status wmi_evaluate_method(const char *guid, u8 instance, | ||
200 | u32 method_id, | ||
201 | const struct acpi_buffer *in, | ||
202 | struct acpi_buffer *out); | ||
203 | extern acpi_status wmi_query_block(const char *guid, u8 instance, | ||
204 | struct acpi_buffer *out); | ||
205 | extern acpi_status wmi_set_block(const char *guid, u8 instance, | ||
206 | const struct acpi_buffer *in); | ||
207 | extern acpi_status wmi_install_notify_handler(const char *guid, | ||
208 | wmi_notify_handler handler, void *data); | ||
209 | extern acpi_status wmi_remove_notify_handler(const char *guid); | ||
210 | extern acpi_status wmi_get_event_data(u32 event, struct acpi_buffer *out); | ||
211 | extern bool wmi_has_guid(const char *guid); | ||
212 | |||
213 | #endif /* CONFIG_ACPI_WMI */ | ||
214 | |||
195 | extern int acpi_blacklisted(void); | 215 | extern int acpi_blacklisted(void); |
196 | #ifdef CONFIG_DMI | 216 | #ifdef CONFIG_DMI |
197 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); | 217 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); |