summaryrefslogtreecommitdiff
path: root/drivers/video/omap2/dss/dss.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/dss.h
parent549acbe7a3380dd3bd2ac71698549148ecc0d17e (diff)
downloadlinux-3.10-96e2e6374385d2219b9011f6bfd0de7221a591d4.tar.gz
linux-3.10-96e2e6374385d2219b9011f6bfd0de7221a591d4.tar.bz2
linux-3.10-96e2e6374385d2219b9011f6bfd0de7221a591d4.zip
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/dss.h')
-rw-r--r--drivers/video/omap2/dss/dss.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index 9faaa63d308..2754bcb231d 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -23,6 +23,8 @@
#ifndef __OMAP2_DSS_H
#define __OMAP2_DSS_H
+#include <linux/interrupt.h>
+
#ifdef pr_fmt
#undef pr_fmt
#endif
@@ -386,6 +388,9 @@ void dispc_clear_irqstatus(u32 mask);
u32 dispc_read_irqenable(void);
void dispc_write_irqenable(u32 mask);
+int dispc_request_irq(irq_handler_t handler, void *dev_id);
+void dispc_free_irq(void *dev_id);
+
int dispc_runtime_get(void);
void dispc_runtime_put(void);