aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2021-12-23 11:16:16 +0300
committerGreg Kroah-Hartman <[email protected]>2021-12-30 12:13:03 +0100
commit13068b7472f9720f807fe72b9bf3f76b9fd6d6ab (patch)
treea91b982178e3d62e75aae45d2c1e2e121eb012de
parenta8cf05160336535fc352c0af66115d0ec0299404 (diff)
acpi: Export acpi_bus_type
So we can use bus_for_each_dev() and others from modules. Acked-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/acpi/bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index fa923a929224..e94de53e3059 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -1043,6 +1043,7 @@ struct bus_type acpi_bus_type = {
.remove = acpi_device_remove,
.uevent = acpi_device_uevent,
};
+EXPORT_SYMBOL_GPL(acpi_bus_type);
/* --------------------------------------------------------------------------
Initialization/Cleanup