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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user