ARM: iop32x: include iop3xx.h header where needed
authorArnd Bergmann <arnd@arndb.de>
Mon, 4 Apr 2022 15:30:44 +0000 (17:30 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 4 Apr 2022 15:42:59 +0000 (17:42 +0200)
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 <lkp@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-iop32x/cp6.c

index 2882674..7135a0a 100644 (file)
@@ -7,6 +7,8 @@
 #include <asm/traps.h>
 #include <asm/ptrace.h>
 
+#include "iop3xx.h"
+
 void iop_enable_cp6(void)
 {
        u32 temp;