Skip to content

Commit

Permalink
ARM: iop32x: include iop3xx.h header where needed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann committed Apr 4, 2022
1 parent 83a1cde commit d10f4b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-iop32x/cp6.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include <asm/traps.h>
#include <asm/ptrace.h>

#include "iop3xx.h"

void iop_enable_cp6(void)
{
u32 temp;
Expand Down

0 comments on commit d10f4b2

Please sign in to comment.