diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-03-01 19:43:45 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-03 09:13:26 -0400 |
commit | c1dfe721e0966947019c43b65f2837c591fdcb3c (patch) | |
tree | 8ce6d3643384f63f717b66bf36eb2bce92d32929 /drivers/gpu/drm/omapdrm/omap_crtc.c | |
parent | 67822ae11971c664f5d28d7914b4b00cff07a9fd (diff) |
drm/omap: dss: Move and rename omap_dss_(get|put)_device()
The functions operate on any omap_dss_device, move them from display.c
to base.c. While at it rename them to match the naming of the other
functions operating on struct omap_dss_device.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 6c4d40b824e4..e18ca6cdc0d6 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c | |||
@@ -704,7 +704,7 @@ struct drm_crtc *omap_crtc_init(struct drm_device *dev, | |||
704 | 704 | ||
705 | out = omapdss_find_output_from_display(dssdev); | 705 | out = omapdss_find_output_from_display(dssdev); |
706 | channel = out->dispc_channel; | 706 | channel = out->dispc_channel; |
707 | omap_dss_put_device(out); | 707 | omapdss_device_put(out); |
708 | 708 | ||
709 | DBG("%s", channel_names[channel]); | 709 | DBG("%s", channel_names[channel]); |
710 | 710 | ||