aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include
diff options
context:
space:
mode:
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>2009-11-22 13:11:22 -0500
committerTony Lindgren <tony@atomide.com>2009-11-22 13:24:33 -0500
commiteb18858ebda7f4ef3d7de33e1b9bf11ac4cc137b (patch)
tree45c9d37c4a02946916a177ec60c1b41c8ac7eece /arch/arm/plat-omap/include
parentb2b6362e6c5f744776da633218029e99f1244694 (diff)
omap: mailbox: Expose omap_mbox_enable()/disable_irq()
Expose omap_mbox_enable()/disable_irq() Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r--arch/arm/plat-omap/include/plat/mailbox.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mailbox.h b/arch/arm/plat-omap/include/plat/mailbox.h
index 8260a3feeb6f..bf0695310bde 100644
--- a/arch/arm/plat-omap/include/plat/mailbox.h
+++ b/arch/arm/plat-omap/include/plat/mailbox.h
@@ -92,4 +92,16 @@ static inline void omap_mbox_restore_ctx(struct omap_mbox *mbox)
92 mbox->ops->restore_ctx(mbox); 92 mbox->ops->restore_ctx(mbox);
93} 93}
94 94
95static inline void omap_mbox_enable_irq(struct omap_mbox *mbox,
96 omap_mbox_irq_t irq)
97{
98 mbox->ops->enable_irq(mbox, irq);
99}
100
101static inline void omap_mbox_disable_irq(struct omap_mbox *mbox,
102 omap_mbox_irq_t irq)
103{
104 mbox->ops->disable_irq(mbox, irq);
105}
106
95#endif /* MAILBOX_H */ 107#endif /* MAILBOX_H */