aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/sun4i/sun4i_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_crtc.c b/drivers/gpu/drm/sun4i/sun4i_crtc.c
index 7bbcedff9f07..5323e3485988 100644
--- a/drivers/gpu/drm/sun4i/sun4i_crtc.c
+++ b/drivers/gpu/drm/sun4i/sun4i_crtc.c
@@ -183,7 +183,7 @@ struct sun4i_crtc *sun4i_crtc_init(struct drm_device *drm)
183 drm_crtc_helper_add(&scrtc->crtc, &sun4i_crtc_helper_funcs); 183 drm_crtc_helper_add(&scrtc->crtc, &sun4i_crtc_helper_funcs);
184 184
185 /* Set crtc.port to output port node of the tcon */ 185 /* Set crtc.port to output port node of the tcon */
186 scrtc->crtc.port = of_graph_get_port_by_id(drv->tcon->dev->of_node, 186 scrtc->crtc.port = of_graph_get_port_by_id(scrtc->tcon->dev->of_node,
187 1); 187 1);
188 188
189 /* Set possible_crtcs to this crtc for overlay planes */ 189 /* Set possible_crtcs to this crtc for overlay planes */