Skip to content
Snippets Groups Projects
Commit 35a1f0df authored by Simon Glass's avatar Simon Glass
Browse files

stdio: Correct a build error with driver model


When driver model is used for video but not for the keyboard, a compiler
warnings is produced. Fix it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 27a1961d
No related branches found
No related tags found
Loading
......@@ -283,6 +283,9 @@ int stdio_add_devices(void)
#endif
#ifdef CONFIG_DM_VIDEO
struct udevice *vdev;
# ifndef CONFIG_DM_KEYBOARD
int ret;
# endif
for (ret = uclass_first_device(UCLASS_VIDEO, &vdev);
vdev;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment