summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dm/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index 18296bb686..1b7a5984cc 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -399,7 +399,7 @@ int device_get_child_by_of_offset(struct udevice *parent, int seq,
int device_find_first_child(struct udevice *parent, struct udevice **devp);
/**
- * device_find_first_child() - Find the first child of a device
+ * device_find_next_child() - Find the next child of parent device
*
* @devp: Pointer to previous child device on entry. Returns pointer to next
* child device, or NULL if none