diff options
author | Alexander Dahl <ada@thorsis.com> | 2024-10-01 14:07:33 +0200 |
---|---|---|
committer | Eugen Hristev <eugen.hristev@linaro.org> | 2024-10-18 10:10:41 +0300 |
commit | 684939089a31b8a5bedbbb4c2f2bcf935da7d9c6 (patch) | |
tree | b14831308cfbcecb904f941e00bc2c9320763ee4 /arch | |
parent | 274bc1e6bd05ab3bcb9bac10130cea8af0e15a1f (diff) | |
download | u-boot-684939089a31b8a5bedbbb4c2f2bcf935da7d9c6.tar.gz |
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 <ada@thorsis.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-at91/include/mach/clk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/clk.h b/arch/arm/mach-at91/include/mach/clk.h index c1d92739e47..09b8f0586c6 100644 --- a/arch/arm/mach-at91/include/mach/clk.h +++ b/arch/arm/mach-at91/include/mach/clk.h @@ -11,6 +11,7 @@ #include <asm/arch/hardware.h> #include <asm/arch/at91_pmc.h> #include <asm/global_data.h> +#include <asm/io.h> #define GCK_CSS_SLOW_CLK 0 #define GCK_CSS_MAIN_CLK 1 |