aboutsummaryrefslogtreecommitdiff
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorGravatar Hans de Goede <hdegoede@redhat.com> 2021-06-16 17:48:22 +0200
committerGravatar Hans de Goede <hdegoede@redhat.com> 2021-06-16 17:48:22 +0200
commitc8d9c3674cba2e420f31e64e4f1ec52db5cc0bb5 (patch)
treeec6f705d4ce698d38f589355d8c41964c446ba68 /include/linux/acpi.h
parentMerge tag 'intel-gpio-v5.14-1' into review-hans (diff)
parentACPI: scan: initialize local variable to avoid garbage being returned (diff)
downloadlinux-c8d9c3674cba2e420f31e64e4f1ec52db5cc0bb5.tar.gz
linux-c8d9c3674cba2e420f31e64e4f1ec52db5cc0bb5.tar.bz2
linux-c8d9c3674cba2e420f31e64e4f1ec52db5cc0bb5.zip
Merge remote-tracking branch 'linux-pm/acpi-scan' into review-hans
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index a74d37a3b618..e8ba7063c000 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -666,7 +666,9 @@ extern bool acpi_driver_match_device(struct device *dev,
const struct device_driver *drv);
int acpi_device_uevent_modalias(struct device *, struct kobj_uevent_env *);
int acpi_device_modalias(struct device *, char *, int);
-void acpi_walk_dep_device_list(acpi_handle handle);
+int acpi_walk_dep_device_list(acpi_handle handle,
+ int (*callback)(struct acpi_dep_data *, void *),
+ void *data);
struct platform_device *acpi_create_platform_device(struct acpi_device *,
struct property_entry *);