From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Tue, 19 May 2020 15:34:21 +0300
Subject: ACPI: Export acpi_get_first_physical_node() to modules
Patch-mainline: v5.10-rc1
Git-commit: 1c9698f856699c7a36d8c53f146b64c4b915e5ad
References: jsc#SLE-16407
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>
Acked-by: Lee, Chun-Yi <jlee@suse.com>
---
drivers/acpi/bus.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -555,6 +555,7 @@ struct device *acpi_get_first_physical_n
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)