Skip to content

Commit d10f4b2

Browse files
committed
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: 6f5d248 ("ARM: iop32x: use GENERIC_IRQ_MULTI_HANDLER") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 83a1cde commit d10f4b2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • arch/arm/mach-iop32x

arch/arm/mach-iop32x/cp6.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#include <asm/traps.h>
88
#include <asm/ptrace.h>
99

10+
#include "iop3xx.h"
11+
1012
void iop_enable_cp6(void)
1113
{
1214
u32 temp;

0 commit comments

Comments
 (0)