summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_drv.c
diff options
context:
space:
mode:
authorLaurent Pinchart2018-03-02 01:54:16 +0100
committerTomi Valkeinen2018-09-03 15:13:26 +0200
commitf324b2798c871511c64ea4232405e6f248e20d52 (patch)
tree9776c6789d5d9c93a9192b82d1d00c1077f44821 /drivers/gpu/drm/omapdrm/omap_drv.c
parentdrm/omap: dss: Move and rename omap_dss_(get|put)_device() (diff)
downloadkernel-qcow2-linux-f324b2798c871511c64ea4232405e6f248e20d52.tar.gz
kernel-qcow2-linux-f324b2798c871511c64ea4232405e6f248e20d52.tar.xz
kernel-qcow2-linux-f324b2798c871511c64ea4232405e6f248e20d52.zip
drm/omap: dss: Store dss_device pointer in omap_dss_device
Storing the dss_device pointer in the omap_dss_device structure will allow accessing the dss_device from the dss_mgr API functions. 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_drv.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c
index a3b7dbf1b92b..95ebb6b1fc36 100644
--- a/drivers/gpu/drm/omapdrm/omap_drv.c
+++ b/drivers/gpu/drm/omapdrm/omap_drv.c
@@ -189,7 +189,7 @@ static int omap_connect_dssdevs(struct drm_device *ddev)
return -EPROBE_DEFER;
for_each_dss_display(dssdev) {
- r = omapdss_device_connect(dssdev, NULL);
+ r = omapdss_device_connect(priv->dss, dssdev, NULL);
if (r == -EPROBE_DEFER) {
omapdss_device_put(dssdev);
goto cleanup;