aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-02-07 03:19:43 -0500
committerLen Brown <len.brown@intel.com>2008-02-07 03:19:43 -0500
commit060195500e0347a6ba8ea89739a9898961eb6f2b (patch)
tree5afba4e8daae642d33b7a4daa97d63c54776b786 /include
parent26b6f2236615649a0ae6a0de2e9e71a2f9ffeba7 (diff)
parentdd8cd7793781c87be47bbfee65efa3fb5110f898 (diff)
Merge branches 'release' and 'wmi-2.6.25' into release
Diffstat (limited to 'include')
-rw-r--r--include/linux/acpi.h20
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
198typedef void (*wmi_notify_handler) (u32 value, void *context);
199
200extern 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);
204extern acpi_status wmi_query_block(const char *guid, u8 instance,
205 struct acpi_buffer *out);
206extern acpi_status wmi_set_block(const char *guid, u8 instance,
207 const struct acpi_buffer *in);
208extern acpi_status wmi_install_notify_handler(const char *guid,
209 wmi_notify_handler handler, void *data);
210extern acpi_status wmi_remove_notify_handler(const char *guid);
211extern acpi_status wmi_get_event_data(u32 event, struct acpi_buffer *out);
212extern bool wmi_has_guid(const char *guid);
213
214#endif /* CONFIG_ACPI_WMI */
215
196extern int acpi_blacklisted(void); 216extern int acpi_blacklisted(void);
197#ifdef CONFIG_DMI 217#ifdef CONFIG_DMI
198extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); 218extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d);