]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/stdio.c
malloc: work around some memalign fragmentation issues
[people/ms/u-boot.git] / common / stdio.c
index 7252bab1f6c13283e80f2a05df59cf276fbb19b1..f99cfe7f4f0db6cf560dd0766cba3ab5224322da 100644 (file)
@@ -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;