diff options
author | Tony Lindgren <tony@atomide.com> | 2012-04-18 10:09:26 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-04-18 10:09:26 -0700 |
commit | 09f45b83109cb8e23a06d5efb1096a08a9545974 (patch) | |
tree | 253e2244e0ab80e9c6e5cb53ab49457d82d70f68 /arch/arm/mach-omap2/irq.c | |
parent | e816b57a337ea3b755de72bec38c10c864f23015 (diff) | |
parent | eeb3711b89d68e147e05e7b43a49ecc5009dc157 (diff) |
Merge tag 'omap-cleanup-a2-for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into cleanup-sparse
Resolve static analysis warnings generated by files in
arch/arm/mach-omap1, arch/arm/mach-omap2, and arch/arm/plat-omap.
Fixes all but one sparse warning and most of the useful
cppcheck warnings (excepting the warnings generated by the
dmtimer integration code which is going up via 3.4-rc fixes)
Diffstat (limited to 'arch/arm/mach-omap2/irq.c')
-rw-r--r-- | arch/arm/mach-omap2/irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 65f0d2571c9..80f3ced0bd1 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c @@ -25,6 +25,7 @@ #include <mach/hardware.h> #include "iomap.h" +#include "common.h" /* selected INTC register offsets */ @@ -334,7 +335,7 @@ void omap_intc_restore_context(void) void omap3_intc_suspend(void) { /* A pending interrupt would prevent OMAP from entering suspend */ - omap_ack_irq(0); + omap_ack_irq(NULL); } void omap3_intc_prepare_idle(void) |