summaryrefslogtreecommitdiff
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-06-16 17:22:50 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-06-17 16:56:03 +0300
commitaff0dbd03d3b750e2331f7cb93e01fe25ed27086 (patch)
treee672cfea04da6ac6f4a64e10af2dfaffb53e0a01 /include/linux/acpi.h
parentad4d451e14e58792e9b7c8a4bfc3276f0128e94a (diff)
downloadlinux-aff0dbd03d3b750e2331f7cb93e01fe25ed27086.tar.xz
ACPI: scan: Make acpi_walk_dep_device_list()
Because acpi_walk_dep_device_list() is only called by the code in the file in which it is defined, make it static, drop the export of it and drop its header from acpi.h. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 170b9bebdb2b..0a6d2845fcaf 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -666,9 +666,6 @@ 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);
-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 *);