diff options
author | Bob Moore <robert.moore@intel.com> | 2009-06-29 01:43:27 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-27 10:17:19 -0400 |
commit | 8e4319c425077c4cc540696a5bb6c4d12f017dcd (patch) | |
tree | 6498586c5d438d679489b30ef6e294dfdeb3b655 /include/acpi/acpi_bus.h | |
parent | 6557a49a443a347d24aed58076365432ded30edc (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.h | 4 |
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 | ||
313 | extern struct kobject *acpi_kobj; | 313 | extern struct kobject *acpi_kobj; |
314 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); | 314 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); |
315 | void acpi_bus_private_data_handler(acpi_handle, u32, void *); | 315 | void acpi_bus_private_data_handler(acpi_handle, void *); |
316 | int acpi_bus_get_private_data(acpi_handle, void **); | 316 | int acpi_bus_get_private_data(acpi_handle, void **); |
317 | extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); | 317 | extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); |
318 | extern int register_acpi_notifier(struct notifier_block *); | 318 | extern 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 | ||
327 | int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device); | 327 | int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device); |
328 | void acpi_bus_data_handler(acpi_handle handle, u32 function, void *context); | 328 | void acpi_bus_data_handler(acpi_handle handle, void *context); |
329 | int acpi_bus_get_status(struct acpi_device *device); | 329 | int acpi_bus_get_status(struct acpi_device *device); |
330 | int acpi_bus_get_power(acpi_handle handle, int *state); | 330 | int acpi_bus_get_power(acpi_handle handle, int *state); |
331 | int acpi_bus_set_power(acpi_handle handle, int state); | 331 | int acpi_bus_set_power(acpi_handle handle, int state); |