]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
display_options: Clean up headers
authorTom Rini <trini@konsulko.com>
Thu, 14 Dec 2023 18:16:56 +0000 (13:16 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 13:54:37 +0000 (08:54 -0500)
In include/display_options.h we cannot include ourself, but do need
<linux/types.h> directly. Then in lib/display_options.c we further clean
the list to remove common.h.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
lib/display_options.c

index 80def5201f96d068013667b66ee208ca1798a470..d6b93553dcb52580153f2335bcdfdf562999c612 100644 (file)
@@ -4,14 +4,15 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <compiler.h>
 #include <console.h>
 #include <display_options.h>
 #include <div64.h>
 #include <version_string.h>
 #include <linux/ctype.h>
+#include <linux/kernel.h>
 #include <asm/io.h>
+#include <vsprintf.h>
 
 char *display_options_get_banner_priv(bool newlines, const char *build_tag,
                                      char *buf, int size)