summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dispc-compat.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-10-10 15:55:19 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-12-07 17:05:57 +0200
commit96e2e6374385d2219b9011f6bfd0de7221a591d4 (patch)
tree4354979f96740cb79fafe33b91e0c16cafcafc44 /drivers/video/omap2/dss/dispc-compat.h
parent549acbe7a3380dd3bd2ac71698549148ecc0d17e (diff)
downloadop-kernel-dev-96e2e6374385d2219b9011f6bfd0de7221a591d4.zip
op-kernel-dev-96e2e6374385d2219b9011f6bfd0de7221a591d4.tar.gz
OMAPDSS: move irq handling to dispc-compat
The whole dispc irq handling system we currently have is only needed for compat layer, and thus can be moved from dispc.c to the compat layer. This is quite straigtforward, but we need to add new dispc functions to request and free the actual hardware irq: dispc_request_irq() and dispc_free_irq(). 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 8322d43..14a69b3 100644
--- a/drivers/video/omap2/dss/dispc-compat.h
+++ b/drivers/video/omap2/dss/dispc-compat.h
@@ -24,4 +24,7 @@ void dispc_mgr_disable_sync(enum omap_channel channel);
int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask,
unsigned long timeout);
+int dss_dispc_initialize_irq(void);
+void dss_dispc_uninitialize_irq(void);
+
#endif
OpenPOWER on IntegriCloud