acpi: Export acpi_bus_type
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 23 Dec 2021 08:16:16 +0000 (11:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Dec 2021 11:13:03 +0000 (12:13 +0100)
So we can use bus_for_each_dev() and others from modules.

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20211223081620.45479-2-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/bus.c

index fa923a9..e94de53 100644 (file)
@@ -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