aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r--include/acpi/acpi_bus.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 15100f625e65..89c60b0f6408 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -339,20 +339,6 @@ struct acpi_bus_event {
339 u32 data; 339 u32 data;
340}; 340};
341 341
342struct acpi_eject_event {
343 struct acpi_device *device;
344 u32 event;
345};
346
347struct acpi_hp_work {
348 struct work_struct work;
349 acpi_handle handle;
350 u32 type;
351 void *context;
352};
353void alloc_acpi_hp_work(acpi_handle handle, u32 type, void *context,
354 void (*func)(struct work_struct *work));
355
356extern struct kobject *acpi_kobj; 342extern struct kobject *acpi_kobj;
357extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); 343extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int);
358void acpi_bus_private_data_handler(acpi_handle, void *); 344void acpi_bus_private_data_handler(acpi_handle, void *);
@@ -391,7 +377,6 @@ int acpi_scan_add_handler(struct acpi_scan_handler *handler);
391int acpi_bus_register_driver(struct acpi_driver *driver); 377int acpi_bus_register_driver(struct acpi_driver *driver);
392void acpi_bus_unregister_driver(struct acpi_driver *driver); 378void acpi_bus_unregister_driver(struct acpi_driver *driver);
393int acpi_bus_scan(acpi_handle handle); 379int acpi_bus_scan(acpi_handle handle);
394void acpi_bus_hot_remove_device(void *context);
395void acpi_bus_trim(struct acpi_device *start); 380void acpi_bus_trim(struct acpi_device *start);
396acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); 381acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd);
397int acpi_match_device_ids(struct acpi_device *device, 382int acpi_match_device_ids(struct acpi_device *device,
@@ -399,6 +384,9 @@ int acpi_match_device_ids(struct acpi_device *device,
399int acpi_create_dir(struct acpi_device *); 384int acpi_create_dir(struct acpi_device *);
400void acpi_remove_dir(struct acpi_device *); 385void acpi_remove_dir(struct acpi_device *);
401 386
387typedef void (*acpi_hp_callback)(void *data, u32 src);
388
389acpi_status acpi_hotplug_execute(acpi_hp_callback func, void *data, u32 src);
402 390
403/** 391/**
404 * module_acpi_driver(acpi_driver) - Helper macro for registering an ACPI driver 392 * module_acpi_driver(acpi_driver) - Helper macro for registering an ACPI driver