summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-06-14 08:48:39 -0600
committerSimon Glass <sjg@chromium.org>2020-07-09 18:57:22 -0600
commitb48c272b1a52311b8afc187e1028e83b02a90a6f (patch)
tree336f15b06022943e7094b431920be8d931afef64 /include/dm
parent6c9e4175491900b9fa5d9283c4a449f00285162d (diff)
downloadu-boot-b48c272b1a52311b8afc187e1028e83b02a90a6f.tar.gz
u-boot-b48c272b1a52311b8afc187e1028e83b02a90a6f.tar.bz2
u-boot-b48c272b1a52311b8afc187e1028e83b02a90a6f.zip
dm: core: Correct comment on uclass_id_foreach_dev()
This parameter should be a struct uclass, not struct udevice. Correct it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-By: Michael Trimarchi <michael@amarulasolutions.com>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 70fca79b44..67ff7466c8 100644
--- a/include/dm/uclass.h
+++ b/include/dm/uclass.h
@@ -390,7 +390,7 @@ int uclass_resolve_seq(struct udevice *dev);
* @id: enum uclass_id ID to use
* @pos: struct udevice * to hold the current device. Set to NULL when there
* are no more devices.
- * @uc: temporary uclass variable (struct udevice *)
+ * @uc: temporary uclass variable (struct uclass *)
*/
#define uclass_id_foreach_dev(id, pos, uc) \
if (!uclass_get(id, &uc)) \