diff options
author | Len Brown <len.brown@intel.com> | 2008-02-07 03:19:43 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-07 03:19:43 -0500 |
commit | 060195500e0347a6ba8ea89739a9898961eb6f2b (patch) | |
tree | 5afba4e8daae642d33b7a4daa97d63c54776b786 /include/linux/acpi.h | |
parent | 26b6f2236615649a0ae6a0de2e9e71a2f9ffeba7 (diff) | |
parent | dd8cd7793781c87be47bbfee65efa3fb5110f898 (diff) |
Merge branches 'release' and 'wmi-2.6.25' into release
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); |