]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita06ddebd7b28137b4c3e7e8c7cd59fb651e6c1b3
tree8be2bf716ff18d15b1a7aa317d005c864d954e48
parent7664170bf49ce90596841dfbaafba14638d51d64
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: 15886a5d3748 ("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