diff options
author | Tom Rini <trini@konsulko.com> | 2023-12-14 13:16:56 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-21 08:54:37 -0500 |
commit | 4abbed7e42b88a9e0dbda2dc36273e74a9374dde (patch) | |
tree | 4f4b7490eb66df9f392a6b45d7632dd594a7f9ac /lib/display_options.c | |
parent | c38cb227d39f8ce9983df8051f31dcc8466f311e (diff) | |
download | u-boot-4abbed7e42b88a9e0dbda2dc36273e74a9374dde.tar.gz u-boot-4abbed7e42b88a9e0dbda2dc36273e74a9374dde.tar.bz2 u-boot-4abbed7e42b88a9e0dbda2dc36273e74a9374dde.zip |
display_options: Clean up headers
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>
Diffstat (limited to 'lib/display_options.c')
-rw-r--r-- | lib/display_options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/display_options.c b/lib/display_options.c index 80def5201f..d6b93553dc 100644 --- a/lib/display_options.c +++ b/lib/display_options.c @@ -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) |