summaryrefslogtreecommitdiff
path: root/drivers/video/omap2/dss/dispc-compat.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-10-10 15:03:11 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-12-07 19:05:56 +0400
commit549acbe7a3380dd3bd2ac71698549148ecc0d17e (patch)
treee4a01389256fafada273ad2637313fbe04b7fe32 /drivers/video/omap2/dss/dispc-compat.h
parentbb39813413db782cc77b94d55cb5d044f42079df (diff)
downloadlinux-549acbe7a3380dd3bd2ac71698549148ecc0d17e.tar.xz
OMAPDSS: move omap_dispc_wait_for_irq_interruptible_timeout to dispc-compat.c
We have two functions to wait for a dispc interrupt: int omap_dispc_wait_for_irq_timeout(u32 irqmask, unsigned long timeout); int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask, Of these, the former is not used at all, and can be removed. The latter is only used by the compat layer, and can be moved to the compat layer code. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dispc-compat.h')
-rw-r--r--drivers/video/omap2/dss/dispc-compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dispc-compat.h b/drivers/video/omap2/dss/dispc-compat.h
index 2d4f5e77a7bf..8322d43d28c3 100644
--- a/drivers/video/omap2/dss/dispc-compat.h
+++ b/drivers/video/omap2/dss/dispc-compat.h
@@ -21,4 +21,7 @@
void dispc_mgr_enable_sync(enum omap_channel channel);
void dispc_mgr_disable_sync(enum omap_channel channel);
+int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask,
+ unsigned long timeout);
+
#endif