]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
drm/panel: Add and fill drm_panel type field
[linux.git] / drivers / gpu / drm / panel / panel-raspberrypi-touchscreen.c
index 23a801427e423b497334c47323b0217186b9cd03..09824e92fc781cc905d0cfe3da6e0ceffa399938 100644 (file)
@@ -426,7 +426,8 @@ static int rpi_touchscreen_probe(struct i2c_client *i2c,
                return PTR_ERR(ts->dsi);
        }
 
-       drm_panel_init(&ts->base, dev, &rpi_touchscreen_funcs);
+       drm_panel_init(&ts->base, dev, &rpi_touchscreen_funcs,
+                      DRM_MODE_CONNECTOR_DSI);
 
        /* This appears last, as it's what will unblock the DSI host
         * driver's component bind function.