summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-31 22:40:03 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-31 22:40:03 +0300
commit50ba22479c324c0d9dc8134d519dcba92d83a8a7 (patch)
tree0f939779c7ff97d1b4e923a4fbded2718e09e4d3 /include/linux/device.h
parent71b65445f0ed04c2afe3660f829779fddb2890c1 (diff)
parent3431e490b50356b56084305a2e93b3a980802b22 (diff)
downloadlinux-50ba22479c324c0d9dc8134d519dcba92d83a8a7.tar.xz
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);