summaryrefslogtreecommitdiff
path: root/arch/arm/mach-iop32x
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-04-04 18:30:44 +0300
committerArnd Bergmann <arnd@arndb.de>2022-04-04 18:42:59 +0300
commitd10f4b22e912d9771493f71d05337362538eec07 (patch)
tree8be2bf716ff18d15b1a7aa317d005c864d954e48 /arch/arm/mach-iop32x
parent83a1cde5c74bfb44b49cb2a940d044bb2380f4ea (diff)
downloadlinux-d10f4b22e912d9771493f71d05337362538eec07.tar.xz
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 <lkp@intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-iop32x')
-rw-r--r--arch/arm/mach-iop32x/cp6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/cp6.c b/arch/arm/mach-iop32x/cp6.c
index 2882674a1c39..7135a0ac9949 100644
--- a/arch/arm/mach-iop32x/cp6.c
+++ b/arch/arm/mach-iop32x/cp6.c
@@ -7,6 +7,8 @@
#include <asm/traps.h>
#include <asm/ptrace.h>
+#include "iop3xx.h"
+
void iop_enable_cp6(void)
{
u32 temp;