aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-06-29 01:43:27 -0400
committerLen Brown <len.brown@intel.com>2009-08-27 10:17:19 -0400
commit8e4319c425077c4cc540696a5bb6c4d12f017dcd (patch)
tree6498586c5d438d679489b30ef6e294dfdeb3b655 /include/acpi/acpi_bus.h
parent6557a49a443a347d24aed58076365432ded30edc (diff)
ACPICA: Fix several acpi_attach_data problems
Handler was never invoked. Now invoked if/when host node is deleted. Data object was not automatically deleted when host node was deleted. Interface to handler had an unused parameter, removed it. ACPICA BZ 778. http://acpica.org/bugzilla/show_bug.cgi?id=778 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r--include/acpi/acpi_bus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index b91420b52c6f..6e83a68fbd7b 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -312,7 +312,7 @@ struct acpi_bus_event {
312 312
313extern struct kobject *acpi_kobj; 313extern struct kobject *acpi_kobj;
314extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); 314extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int);
315void acpi_bus_private_data_handler(acpi_handle, u32, void *); 315void acpi_bus_private_data_handler(acpi_handle, void *);
316int acpi_bus_get_private_data(acpi_handle, void **); 316int acpi_bus_get_private_data(acpi_handle, void **);
317extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); 317extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32);
318extern int register_acpi_notifier(struct notifier_block *); 318extern int register_acpi_notifier(struct notifier_block *);
@@ -325,7 +325,7 @@ extern void unregister_acpi_bus_notifier(struct notifier_block *nb);
325 */ 325 */
326 326
327int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device); 327int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device);
328void acpi_bus_data_handler(acpi_handle handle, u32 function, void *context); 328void acpi_bus_data_handler(acpi_handle handle, void *context);
329int acpi_bus_get_status(struct acpi_device *device); 329int acpi_bus_get_status(struct acpi_device *device);
330int acpi_bus_get_power(acpi_handle handle, int *state); 330int acpi_bus_get_power(acpi_handle handle, int *state);
331int acpi_bus_set_power(acpi_handle handle, int state); 331int acpi_bus_set_power(acpi_handle handle, int state);