aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-31 21:40:03 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-31 21:40:03 +0200
commit50ba22479c324c0d9dc8134d519dcba92d83a8a7 (patch)
tree0f939779c7ff97d1b4e923a4fbded2718e09e4d3 /include/linux/device.h
parentACPI / PM: Use target_state to set the device power state (diff)
parentMerge branch 'acpi-scan' into acpi-pm (diff)
downloadlinux-dev-50ba22479c324c0d9dc8134d519dcba92d83a8a7.tar.xz
linux-dev-50ba22479c324c0d9dc8134d519dcba92d83a8a7.zip
Merge back earlier ACPI PM material for v4.3.
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index a2b4ea70a946..9d212fee4158 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -959,6 +959,8 @@ extern int __must_check device_add(struct device *dev);
extern void device_del(struct device *dev);
extern int device_for_each_child(struct device *dev, void *data,
int (*fn)(struct device *dev, void *data));
+extern int device_for_each_child_reverse(struct device *dev, void *data,
+ int (*fn)(struct device *dev, void *data));
extern struct device *device_find_child(struct device *dev, void *data,
int (*match)(struct device *dev, void *data));
extern int device_rename(struct device *dev, const char *new_name);