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>
This commit is contained in:
Tom Rini 2023-12-14 13:16:56 -05:00
parent c38cb227d3
commit 4abbed7e42

View file

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