aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/acpi/acpi_bus.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 1139f3a01209..62eb514f8e3a 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -182,7 +182,8 @@ struct acpi_device_flags {
182 u32 suprise_removal_ok:1; 182 u32 suprise_removal_ok:1;
183 u32 power_manageable:1; 183 u32 power_manageable:1;
184 u32 performance_manageable:1; 184 u32 performance_manageable:1;
185 u32 reserved:24; 185 u32 eject_pending:1;
186 u32 reserved:23;
186}; 187};
187 188
188/* File System */ 189/* File System */
@@ -334,6 +335,11 @@ struct acpi_bus_event {
334 u32 data; 335 u32 data;
335}; 336};
336 337
338struct acpi_eject_event {
339 acpi_handle handle;
340 u32 event;
341};
342
337extern struct kobject *acpi_kobj; 343extern struct kobject *acpi_kobj;
338extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); 344extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int);
339void acpi_bus_private_data_handler(acpi_handle, void *); 345void acpi_bus_private_data_handler(acpi_handle, void *);
@@ -371,6 +377,7 @@ int acpi_bus_register_driver(struct acpi_driver *driver);
371void acpi_bus_unregister_driver(struct acpi_driver *driver); 377void acpi_bus_unregister_driver(struct acpi_driver *driver);
372int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent, 378int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent,
373 acpi_handle handle, int type); 379 acpi_handle handle, int type);
380void acpi_bus_hot_remove_device(void *context);
374int acpi_bus_trim(struct acpi_device *start, int rmdevice); 381int acpi_bus_trim(struct acpi_device *start, int rmdevice);
375int acpi_bus_start(struct acpi_device *device); 382int acpi_bus_start(struct acpi_device *device);
376acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); 383acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd);