]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/panel/panel-ronbo-rb070d30.c
drm/panel: Add and fill drm_panel type field
[linux.git] / drivers / gpu / drm / panel / panel-ronbo-rb070d30.c
index 8708fbbe763766cf0f0f1efafcecd07b19f4c589..170a5cda21b931c1de60c8719f7f12aa8060db72 100644 (file)
@@ -173,7 +173,8 @@ static int rb070d30_panel_dsi_probe(struct mipi_dsi_device *dsi)
        mipi_dsi_set_drvdata(dsi, ctx);
        ctx->dsi = dsi;
 
-       drm_panel_init(&ctx->panel, &dsi->dev, &rb070d30_panel_funcs);
+       drm_panel_init(&ctx->panel, &dsi->dev, &rb070d30_panel_funcs,
+                      DRM_MODE_CONNECTOR_DSI);
 
        ctx->gpios.reset = devm_gpiod_get(&dsi->dev, "reset", GPIOD_OUT_LOW);
        if (IS_ERR(ctx->gpios.reset)) {