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 cf13bec517b7..5a5a13b64d09 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -193,6 +193,26 @@ extern int ec_transaction(u8 command, | |||
193 | 193 | ||
194 | #endif /*CONFIG_ACPI_EC*/ | 194 | #endif /*CONFIG_ACPI_EC*/ |
195 | 195 | ||
196 | #if defined(CONFIG_ACPI_WMI) || defined(CONFIG_ACPI_WMI_MODULE) | ||
197 | |||
198 | typedef void (*wmi_notify_handler) (u32 value, void *context); | ||
199 | |||
200 | extern acpi_status wmi_evaluate_method(const char *guid, u8 instance, | ||
201 | u32 method_id, | ||
202 | const struct acpi_buffer *in, | ||
203 | struct acpi_buffer *out); | ||
204 | extern acpi_status wmi_query_block(const char *guid, u8 instance, | ||
205 | struct acpi_buffer *out); | ||
206 | extern acpi_status wmi_set_block(const char *guid, u8 instance, | ||
207 | const struct acpi_buffer *in); | ||
208 | extern acpi_status wmi_install_notify_handler(const char *guid, | ||
209 | wmi_notify_handler handler, void *data); | ||
210 | extern acpi_status wmi_remove_notify_handler(const char *guid); | ||
211 | extern acpi_status wmi_get_event_data(u32 event, struct acpi_buffer *out); | ||
212 | extern bool wmi_has_guid(const char *guid); | ||
213 | |||
214 | #endif /* CONFIG_ACPI_WMI */ | ||
215 | |||
196 | extern int acpi_blacklisted(void); | 216 | extern int acpi_blacklisted(void); |
197 | #ifdef CONFIG_DMI | 217 | #ifdef CONFIG_DMI |
198 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); | 218 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); |