From: Paul Burton Date: Wed, 23 Aug 2017 18:17:46 +0000 (-0700) Subject: MIPS: Include asm/setup.h for cpu_cache_init() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=699394246968150cdcbd10749538bd67b50c5326;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git MIPS: Include asm/setup.h for cpu_cache_init() arch/mips/mm/cache.c provides our implementation of the cpu_cache_init() function, but doesn't include the asm/setup.h header which declares it. This leads to a warning from sparse: arch/mips/mm/cache.c:274:6: warning: symbol 'cpu_cache_init' was not declared. Should it be static? Fix this by including asm/setup.h to get the declaration of cpu_cache_init(). Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Cc: trivial@kernel.org Patchwork: https://patchwork.linux-mips.org/patch/17168/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c index 899e46279902..0324e1085b16 100644 --- a/arch/mips/mm/cache.c +++ b/arch/mips/mm/cache.c @@ -20,6 +20,7 @@ #include #include #include +#include /* Cache operations. */ void (*flush_cache_all)(void);