From: Oliver Graute Date: Fri, 6 Nov 2020 08:09:29 +0000 (+0100) Subject: imx: ahab: fix implicit declaration warning X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=b15cd88b225ad5a4e81d9144c5e5c265c8588933;p=u-boot.git imx: ahab: fix implicit declaration warning Fix the following warning: arch/arm/mach-imx/imx8/ahab.c:105:3: warning: implicit declaration of function ‘flush_dcache_range’ [-Wimplicit-function-declaration] flush_dcache_range(s, e); ^~~~~~~~~~~~~~~~~~ Include cpu_func.h header which declares the flush_dcache_range() function. Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: uboot-imx --- diff --git a/arch/arm/mach-imx/imx8/ahab.c b/arch/arm/mach-imx/imx8/ahab.c index 9df7474139..4bb7c46921 100644 --- a/arch/arm/mach-imx/imx8/ahab.c +++ b/arch/arm/mach-imx/imx8/ahab.c @@ -14,6 +14,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR;