Skip to content

Commit

Permalink
ARM: OMAP1: fix sparse warning added by commit 4c98dc6
Browse files Browse the repository at this point in the history
Commit 4c98dc6 ("ARM: OMAP: Make
plat/fpga.h local to arch/arm/plat-omap") results in a new warning from
sparse:

arch/arm/mach-omap1/fpga.c:147:6: warning: symbol 'omap1510_fpga_init_irq' was not declared. Should it be static?

Fix by adding a missing include.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Paul Walmsley committed Oct 26, 2012
1 parent 47ba709 commit 97af08b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-omap1/fpga.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <mach/hardware.h>

#include "iomap.h"
#include "common.h"

static void fpga_mask_irq(struct irq_data *d)
{
Expand Down

0 comments on commit 97af08b

Please sign in to comment.