[PATCH v1 4/4] x86: cpu: Add missing header inclusion
Simon Glass
sjg at chromium.org
Fri Oct 18 01:11:47 CEST 2024
On Sat, 5 Oct 2024 at 13:14, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> Without asm/cpu_x86.h inclusion a compiler is not happy:
>
> arch/x86/cpu/cpu_x86.c:14:5: warning: no previous prototype for ‘cpu_x86_bind’ [-Wmissing-prototypes]
> arch/x86/cpu/cpu_x86.c:29:5: warning: no previous prototype for ‘cpu_x86_get_vendor’ [-Wmissing-prototypes]
> arch/x86/cpu/cpu_x86.c:41:5: warning: no previous prototype for ‘cpu_x86_get_desc’ [-Wmissing-prototypes]
> arch/x86/cpu/cpu_x86.c:55:5: warning: no previous prototype for ‘cpu_x86_get_count’ [-Wmissing-prototypes]
>
> Add missing header inclusion.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
> arch/x86/cpu/cpu_x86.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list