projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8cf051
)
acpi: Export acpi_bus_type
author
Heikki Krogerus
<heikki.krogerus@linux.intel.com>
Thu, 23 Dec 2021 08:16:16 +0000
(11:16 +0300)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/acpi/bus.c
b/drivers/acpi/bus.c
index
fa923a9
..
e94de53
100644
(file)
--- 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