From: Arnd Bergmann Date: Mon, 4 Apr 2022 15:30:44 +0000 (+0200) Subject: ARM: iop32x: include iop3xx.h header where needed X-Git-Tag: v5.18-rc3~10^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d10f4b22e912d9771493f71d05337362538eec07;p=thirdparty%2Fkernel%2Flinux.git ARM: iop32x: include iop3xx.h header where needed Building with 'make W=1' shows a warning about a missing prototype: arch/arm/mach-iop32x/cp6.c:10:6: warning: no previous prototype for 'iop_enable_cp6' [-Wmissing-prototypes] Include the header that contains the declaration. Fixes: 6f5d248d05db ("ARM: iop32x: use GENERIC_IRQ_MULTI_HANDLER") Reported-by: kernel test robot Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/mach-iop32x/cp6.c b/arch/arm/mach-iop32x/cp6.c index 2882674a1c399..7135a0ac99495 100644 --- a/arch/arm/mach-iop32x/cp6.c +++ b/arch/arm/mach-iop32x/cp6.c @@ -7,6 +7,8 @@ #include #include +#include "iop3xx.h" + void iop_enable_cp6(void) { u32 temp;