mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
6c9e417549
commit
b48c272b1a
1 changed files with 1 additions and 1 deletions
|
@ -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)) \
|
||||
|
|
Loading…
Add table
Reference in a new issue