summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2024-11-04 11:21:20 +0300
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2024-11-04 11:21:20 +0300
commitc787c2901e2c03008e536b86cb0103ce6fd05e2d (patch)
tree06966989052f14f98c9b1ede0ea98822f317a586 /include/linux/device.h
parenta19d1db9a3fa89fabd7c83544b84f393ee9b851f (diff)
parent30169bb64580bd7bce9290c1952bf0aa6cc37fe5 (diff)
downloadlinux-c787c2901e2c03008e536b86cb0103ce6fd05e2d.tar.xz
Merge drm/drm-next into drm-xe-next
Backmerging to get up-to-date and to bring in a fix that was merged through drm-misc-fixes. Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index b4bde8d22697..667cb6db9019 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -1078,6 +1078,9 @@ int device_for_each_child(struct device *dev, void *data,
int (*fn)(struct device *dev, void *data));
int device_for_each_child_reverse(struct device *dev, void *data,
int (*fn)(struct device *dev, void *data));
+int device_for_each_child_reverse_from(struct device *parent,
+ struct device *from, const void *data,
+ int (*fn)(struct device *, const void *));
struct device *device_find_child(struct device *dev, void *data,
int (*match)(struct device *dev, void *data));
struct device *device_find_child_by_name(struct device *parent,