diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-10 12:55:19 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-12-07 15:05:57 (GMT) |
commit | 96e2e6374385d2219b9011f6bfd0de7221a591d4 (patch) | |
tree | 4354979f96740cb79fafe33b91e0c16cafcafc44 /drivers/video/omap2/dss/dss.h | |
parent | 549acbe7a3380dd3bd2ac71698549148ecc0d17e (diff) | |
download | linux-fsl-qoriq-96e2e6374385d2219b9011f6bfd0de7221a591d4.tar.xz |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index 9faaa63..2754bcb 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); |