From bf8550287dbc71a1f852664565dea095fbe868ec Mon Sep 17 00:00:00 2001 From: Jeroen Hofstee Date: Wed, 8 Oct 2014 22:57:57 +0200 Subject: [PATCH] omap3: board: add missing include and proto Signed-off-by: Jeroen Hofstee --- arch/arm/cpu/armv7/omap3/board.c | 1 + arch/arm/cpu/armv7/omap3/sys_info.c | 2 ++ arch/arm/include/asm/arch-omap3/sys_proto.h | 1 + 3 files changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c index 08f8363ad3..a1c5b09916 100644 --- a/arch/arm/cpu/armv7/omap3/board.c +++ b/arch/arm/cpu/armv7/omap3/board.c @@ -17,6 +17,7 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include +#include #include #include #include diff --git a/arch/arm/cpu/armv7/omap3/sys_info.c b/arch/arm/cpu/armv7/omap3/sys_info.c index ce254cfe8d..bbb65bbe72 100644 --- a/arch/arm/cpu/armv7/omap3/sys_info.c +++ b/arch/arm/cpu/armv7/omap3/sys_info.c @@ -16,6 +16,8 @@ #include #include /* get mem tables */ #include +#include + #include #include diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3/sys_proto.h index 5866bf23e8..34bd8c509a 100644 --- a/arch/arm/include/asm/arch-omap3/sys_proto.h +++ b/arch/arm/include/asm/arch-omap3/sys_proto.h @@ -64,6 +64,7 @@ void try_unlock_memory(void); u32 get_boot_type(void); void invalidate_dcache(u32); u32 wait_on_value(u32, u32, void *, u32); +void cancel_out(u32 *num, u32 *den, u32 den_limit); void sdelay(unsigned long); void make_cs1_contiguous(void); void omap_nand_switch_ecc(uint32_t, uint32_t); -- 2.25.1