]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
drm/panel: Add and fill drm_panel type field
[linux.git] / drivers / gpu / drm / panel / panel-ilitek-ili9881c.c
index 1d714f961c00937b289ae73e20e53c05ecd0ebde..e8789e460a169e3e206245a5c35e5a34fd406bb0 100644 (file)
@@ -433,7 +433,8 @@ static int ili9881c_dsi_probe(struct mipi_dsi_device *dsi)
        mipi_dsi_set_drvdata(dsi, ctx);
        ctx->dsi = dsi;
 
-       drm_panel_init(&ctx->panel, &dsi->dev, &ili9881c_funcs);
+       drm_panel_init(&ctx->panel, &dsi->dev, &ili9881c_funcs,
+                      DRM_MODE_CONNECTOR_DSI);
 
        ctx->power = devm_regulator_get(&dsi->dev, "power");
        if (IS_ERR(ctx->power)) {