UPSTREAM: drm: Pass 'name' to drm_crtc_init_with_planes()
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / sti / sti_crtc.c
index 3ae09dcd4fd86c65fad95b13fc60aa596a1271e4..de11c7cfb02f4b1d8d65d52cca8676526e80a68b 100644 (file)
@@ -367,7 +367,7 @@ int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer,
        int res;
 
        res = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor,
-                                       &sti_crtc_funcs);
+                                       &sti_crtc_funcs, NULL);
        if (res) {
                DRM_ERROR("Can't initialze CRTC\n");
                return -EINVAL;