]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/panel/panel-lvds.c
drm/panel: Add and fill drm_panel type field
[linux.git] / drivers / gpu / drm / panel / panel-lvds.c
index 3dc1ac2a6b03b2645f0e08e91a859a3e64723b43..cab3fb4177e3fa934acdf92ec443bfd07f3fd797 100644 (file)
@@ -260,7 +260,8 @@ static int panel_lvds_probe(struct platform_device *pdev)
         */
 
        /* Register the panel. */
-       drm_panel_init(&lvds->panel, lvds->dev, &panel_lvds_funcs);
+       drm_panel_init(&lvds->panel, lvds->dev, &panel_lvds_funcs,
+                      DRM_MODE_CONNECTOR_LVDS);
 
        ret = drm_panel_add(&lvds->panel);
        if (ret < 0)