diff options
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index c5f1915aef67..f5bf553a862f 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c | |||
@@ -474,8 +474,8 @@ static void omap_crtc_mode_set_nofb(struct drm_crtc *crtc) | |||
474 | * has been changed to the DRM model. | 474 | * has been changed to the DRM model. |
475 | */ | 475 | */ |
476 | 476 | ||
477 | for (i = 0; i < priv->num_encoders; ++i) { | 477 | for (i = 0; i < priv->num_pipes; ++i) { |
478 | struct drm_encoder *encoder = priv->encoders[i]; | 478 | struct drm_encoder *encoder = priv->pipes[i].encoder; |
479 | 479 | ||
480 | if (encoder->crtc == crtc) { | 480 | if (encoder->crtc == crtc) { |
481 | struct omap_dss_device *dssdev; | 481 | struct omap_dss_device *dssdev; |