diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 125e4901c9b47834238778e61a7315108ab976a9..5ac34c0eeb475f5f82ec659357cea3ae23fa8b32 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h @@ -82,7 +82,6 @@ static inline void acpi_lpss_init(void) {} void acpi_apd_init(void); -acpi_status acpi_hotplug_schedule(struct acpi_device *adev, u32 src); bool acpi_queue_hotplug_work(struct work_struct *work); void acpi_device_hotplug(struct acpi_device *adev, u32 src); bool acpi_scan_is_offline(struct acpi_device *adev, bool uevent); diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 0418febc5cf207d6ed888cd834820cdbd35c2cb9..b11c74f229a5440ad7130b10e0562412cfb94fba 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1188,6 +1188,7 @@ acpi_status acpi_hotplug_schedule(struct acpi_device *adev, u32 src) } return AE_OK; } +EXPORT_SYMBOL_GPL(acpi_hotplug_schedule); bool acpi_queue_hotplug_work(struct work_struct *work) { diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 473dbb701700d370dfc2a25ac0501537429b717a..7c14b71464df3552c0c18123b173f50242f28e29 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -1407,5 +1407,6 @@ acpi_platform_notify(struct device *dev, enum kobject_action action) struct acpi_pptt_processor * acpi_pptt_find_cache_backwards(struct acpi_table_header *table_hdr, struct acpi_pptt_cache *cache); +acpi_status acpi_hotplug_schedule(struct acpi_device *adev, u32 src); #endif /*_LINUX_ACPI_H*/