diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2021-12-23 11:16:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-30 12:13:03 +0100 |
commit | 13068b7472f9720f807fe72b9bf3f76b9fd6d6ab (patch) | |
tree | a91b982178e3d62e75aae45d2c1e2e121eb012de /drivers/acpi | |
parent | a8cf05160336535fc352c0af66115d0ec0299404 (diff) | |
download | lwn-13068b7472f9720f807fe72b9bf3f76b9fd6d6ab.tar.gz lwn-13068b7472f9720f807fe72b9bf3f76b9fd6d6ab.zip |
acpi: Export acpi_bus_type
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/bus.c | 1 |
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 |