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: 6f5d248d05 ("ARM: iop32x: use GENERIC_IRQ_MULTI_HANDLER")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2022-04-04 17:30:44 +02:00
parent 83a1cde5c7
commit d10f4b22e9
1 changed files with 2 additions and 0 deletions

View File

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