diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-05-19 14:34:21 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-09-03 11:06:42 +0200 |
commit | 1c9698f856699c7a36d8c53f146b64c4b915e5ad (patch) | |
tree | 7062d025c9515c430c8625e02dea77058b508f17 | |
parent | PCI / thunderbolt: Switch to use device links instead of PCI quirk (diff) | |
download | linux-1c9698f856699c7a36d8c53f146b64c4b915e5ad.tar.xz linux-1c9698f856699c7a36d8c53f146b64c4b915e5ad.zip |
ACPI: Export acpi_get_first_physical_node() to modules
This function will be needed by the Thunderbolt driver when it parses
ACPI description for linking tunneled ports to the Thunderbolt
controller device.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-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 54002670cb7a..53cc1e0cef21 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -551,6 +551,7 @@ struct device *acpi_get_first_physical_node(struct acpi_device *adev) mutex_unlock(physical_node_lock); return phys_dev; } +EXPORT_SYMBOL_GPL(acpi_get_first_physical_node); static struct acpi_device *acpi_primary_dev_companion(struct acpi_device *adev, const struct device *dev) |