]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/imx/imx-drm-core.c
Merge tag 'imx-drm-fixes-2017-02-17' of https://git.pengutronix.de/git/pza/linux...
[karo-tx-linux.git] / drivers / gpu / drm / imx / imx-drm-core.c
index bef76cb0d05dc005ddc15fa5aac40a5d49f59f4c..f562cb7964b08ba65d06de2b16093e992456f2b8 100644 (file)
@@ -389,8 +389,7 @@ static int imx_drm_bind(struct device *dev)
                dev_warn(dev, "Invalid legacyfb_depth.  Defaulting to 16bpp\n");
                legacyfb_depth = 16;
        }
-       imxdrm->fbhelper = drm_fbdev_cma_init(drm, legacyfb_depth,
-                               drm->mode_config.num_crtc, MAX_CRTC);
+       imxdrm->fbhelper = drm_fbdev_cma_init(drm, legacyfb_depth, MAX_CRTC);
        if (IS_ERR(imxdrm->fbhelper)) {
                ret = PTR_ERR(imxdrm->fbhelper);
                imxdrm->fbhelper = NULL;