diff mbox series

cmd: Correct the 'md.q' command

Message ID 20200607203257.1.I8b8b366d25a80796255285c9e7c1327a40ac8beb@changeid
State Accepted
Commit 90606da02dffb61195ade325f2be2e170e7c410c
Headers show
Series cmd: Correct the 'md.q' command | expand

Commit Message

Simon Glass June 8, 2020, 2:33 a.m. UTC
This displays incorrect data at present due to a missing header file
in display_options. Fix it.

Fixes: 09140113108 ("command: Remove the cmd_tbl_t typedef")

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 lib/display_options.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini June 9, 2020, 12:36 a.m. UTC | #1
On Sun, Jun 07, 2020 at 08:33:00PM -0600, Simon Glass wrote:

> This displays incorrect data at present due to a missing header file
> in display_options. Fix it.
> 
> Fixes: 09140113108 ("command: Remove the cmd_tbl_t typedef")
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/lib/display_options.c b/lib/display_options.c
index 74f769d9ff..1dd5b6affd 100644
--- a/lib/display_options.c
+++ b/lib/display_options.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <console.h>
 #include <div64.h>
 #include <version.h>