]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/panel/panel-sitronix-st7701.c
drm/panel: Add and fill drm_panel type field
[linux.git] / drivers / gpu / drm / panel / panel-sitronix-st7701.c
index 3f7bcd24aa815546133f17ed6707838b62e579c5..ee3f23f45755f090709c97f8acdf74ce8be4cfb8 100644 (file)
@@ -369,7 +369,8 @@ static int st7701_dsi_probe(struct mipi_dsi_device *dsi)
        if (IS_ERR(st7701->backlight))
                return PTR_ERR(st7701->backlight);
 
-       drm_panel_init(&st7701->panel, &dsi->dev, &st7701_funcs);
+       drm_panel_init(&st7701->panel, &dsi->dev, &st7701_funcs,
+                      DRM_MODE_CONNECTOR_DSI);
 
        /**
         * Once sleep out has been issued, ST7701 IC required to wait 120ms