ACPI: bus: Export acpi_dev_for_each_child() to modules
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>
This commit is contained in:
parent
fa98b3985a
commit
f8128c390e
|
@ -1102,6 +1102,7 @@ static int acpi_dev_for_one_check(struct device *dev, void *context)
|
|||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue