aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc/tilcdc_panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_panel.c')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel.c b/drivers/gpu/drm/tilcdc/tilcdc_panel.c
index d616d64a6725..a1acab39d87f 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_panel.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_panel.c
@@ -223,7 +223,7 @@ static struct drm_connector *panel_connector_create(struct drm_device *dev,
223 connector->interlace_allowed = 0; 223 connector->interlace_allowed = 0;
224 connector->doublescan_allowed = 0; 224 connector->doublescan_allowed = 0;
225 225
226 ret = drm_mode_connector_attach_encoder(connector, encoder); 226 ret = drm_connector_attach_encoder(connector, encoder);
227 if (ret) 227 if (ret)
228 goto fail; 228 goto fail;
229 229