aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorJouni Hogander <jouni.hogander@nokia.com>2009-02-03 15:49:04 -0800
committerKevin Hilman <khilman@deeprootsystems.com>2009-05-28 10:59:04 -0700
commit94434535bd36ca010a81e1199f954beef2c4de64 (patch)
tree7abfddf6812d4b88bb4cc8bff5a6acbbc0664a1b /arch/arm/plat-omap
parent8bd229492209c0c7d050e2f9a600c12f035d72f7 (diff)
OMAP: Add new function to check wether there is irq pending
Add common omap2/3 function to check wether there is irq pending. Switch to use it in omap2 pm code instead of its own. Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/mach/irqs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/mach/irqs.h b/arch/arm/plat-omap/include/mach/irqs.h
index 7f57ee66f36..f5f7c928b53 100644
--- a/arch/arm/plat-omap/include/mach/irqs.h
+++ b/arch/arm/plat-omap/include/mach/irqs.h
@@ -467,6 +467,7 @@
#ifndef __ASSEMBLY__
extern void omap_init_irq(void);
+extern int omap_irq_pending(void);
#endif
#include <mach/hardware.h>