From: Alexander Dahl Date: Tue, 1 Oct 2024 12:07:33 +0000 (+0200) Subject: ARM: at91: clock: Add missing include of asm/io.h X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=684939089a31b8a5bedbbb4c2f2bcf935da7d9c6;p=u-boot.git ARM: at91: clock: Add missing include of asm/io.h In one inline function in this header `readl()` is used, but the declaration was not found, so buildman gave this warning: w+include/asm/arch/clk.h: In function 'get_h32mxdiv': w+include/asm/arch/clk.h:65:16: warning: implicit declaration of function 'readl' [-Wimplicit-function-declaration] Fixes: 927b901b47a6 ("ARM: atmel: add sama5d4ek board support") Signed-off-by: Alexander Dahl --- diff --git a/arch/arm/mach-at91/include/mach/clk.h b/arch/arm/mach-at91/include/mach/clk.h index c1d92739e4..09b8f0586c 100644 --- a/arch/arm/mach-at91/include/mach/clk.h +++ b/arch/arm/mach-at91/include/mach/clk.h @@ -11,6 +11,7 @@ #include #include #include +#include #define GCK_CSS_SLOW_CLK 0 #define GCK_CSS_MAIN_CLK 1