diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-05 09:23:03 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-03 17:38:23 +0200 |
commit | af235e31e922d97f093e27f5218bfa097447104b (patch) | |
tree | 246528b00724e2dce8b505a037efaad0d91db02c /drivers/gpu/drm/omapdrm/dss/output.c | |
parent | 1f03f93480c59bff7afcc61977aa4060d3d6fb20 (diff) | |
download | blackbird-op-linux-af235e31e922d97f093e27f5218bfa097447104b.tar.gz blackbird-op-linux-af235e31e922d97f093e27f5218bfa097447104b.zip |
drm/omap: convert dss_mgr_register_framedone_handler to accept omap_channel
We are removing uses of 'struct omap_overlay_manager'. This patch
changes dss_mgr_register_framedone_handler() to accept 'enum
omap_channel' instead of 'struct omap_overlay_manager'.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/output.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/output.c b/drivers/gpu/drm/omapdrm/dss/output.c index 39a0d7f59a80..637f8926ec3a 100644 --- a/drivers/gpu/drm/omapdrm/dss/output.c +++ b/drivers/gpu/drm/omapdrm/dss/output.c @@ -234,10 +234,10 @@ void dss_mgr_start_update(enum omap_channel channel) } EXPORT_SYMBOL(dss_mgr_start_update); -int dss_mgr_register_framedone_handler(struct omap_overlay_manager *mgr, +int dss_mgr_register_framedone_handler(enum omap_channel channel, void (*handler)(void *), void *data) { - return dss_mgr_ops->register_framedone_handler(mgr->id, handler, data); + return dss_mgr_ops->register_framedone_handler(channel, handler, data); } EXPORT_SYMBOL(dss_mgr_register_framedone_handler); |