Blob Blame History Raw
From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Date: Mon, 13 Jun 2022 20:26:03 +0200
Subject: ACPI: bus: Export acpi_dev_for_each_child() to modules
Patch-mainline: v6.0-rc1
Git-commit: f8128c390e58928b16f197416d417cfa4c65f610
References: jsc#PED-1408

Some pieces of modular code can benefit from using
acpi_dev_for_each_child(), so export it to modules.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.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
@@ -1101,6 +1101,7 @@ static int acpi_dev_for_one_check(struct
 
 	return adwc->fn(to_acpi_device(dev), adwc->data);
 }
+EXPORT_SYMBOL_GPL(acpi_dev_for_each_child);
 
 int acpi_dev_for_each_child(struct acpi_device *adev,
 			    int (*fn)(struct acpi_device *, void *), void *data)