ACPI / hotplug: Rework deferred execution of acpi_device_hotplug()
[linux-block.git] / drivers / acpi / internal.h
index 4d081fc1aa24c2ba3515bdbff7aab41fe3725e80..957391306cbf32953457b1e8a540a66b32bd253b 100644 (file)
@@ -78,8 +78,9 @@ void acpi_lpss_init(void);
 static inline void acpi_lpss_init(void) {}
 #endif
 
+acpi_status acpi_hotplug_schedule(struct acpi_device *adev, u32 src);
 bool acpi_queue_hotplug_work(struct work_struct *work);
-void acpi_device_hotplug(void *data, u32 src);
+void acpi_device_hotplug(struct acpi_device *adev, u32 src);
 bool acpi_scan_is_offline(struct acpi_device *adev, bool uevent);
 
 /* --------------------------------------------------------------------------