]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/panel/panel-tpo-td028ttec1.c
drm/panel: Add and fill drm_panel type field
[linux.git] / drivers / gpu / drm / panel / panel-tpo-td028ttec1.c
index 8b1148d74e7bdfcddcdf69cd43f98664a2d823c8..1d08d03f509d51cf4e411d7f1ea012ea99fde4d3 100644 (file)
@@ -347,7 +347,8 @@ static int td028ttec1_probe(struct spi_device *spi)
                return ret;
        }
 
-       drm_panel_init(&lcd->panel, &lcd->spi->dev, &td028ttec1_funcs);
+       drm_panel_init(&lcd->panel, &lcd->spi->dev, &td028ttec1_funcs,
+                      DRM_MODE_CONNECTOR_DPI);
 
        return drm_panel_add(&lcd->panel);
 }