]> 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)
commitf54afe5d84466e1b4fc1d0e5b9d3b2a88a65bb32
tree8be2bf716ff18d15b1a7aa317d005c864d954e48
parenteaed16f1042480e4102f84fad5d3998758dd87e0
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: 74318bd719ac ("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