From: Tom Rini Date: Wed, 1 Nov 2023 16:28:07 +0000 (-0400) Subject: display_options.h: Correct includes X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=dcda1f27f55e4ddd2d86dac76d57febe15ff8713;p=u-boot.git display_options.h: Correct includes First, a header should never include itself so remove that. Second, this header needs to be included as the function prototypes use types that we get via that header. Signed-off-by: Tom Rini --- diff --git a/include/display_options.h b/include/display_options.h index 85dacbc759..66e5960773 100644 --- a/include/display_options.h +++ b/include/display_options.h @@ -9,6 +9,8 @@ #ifndef __DISPLAY_OPTIONS_H #define __DISPLAY_OPTIONS_H +#include + /** * print_size() - Print a size with a suffix * @@ -19,7 +21,6 @@ * @size: Size to print * @suffix String to print after the size */ -#include void print_size(uint64_t size, const char *suffix); /**