drm/exynos: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops
authorStefan Christ <contact@stefanchrist.eu>
Sun, 13 Nov 2016 23:03:17 +0000 (00:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Nov 2016 06:54:50 +0000 (07:54 +0100)
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Stefan Christ <contact@stefanchrist.eu>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1479078208-25221-8-git-send-email-contact@stefanchrist.eu
drivers/gpu/drm/exynos/exynos_drm_fbdev.c

index 4cfb39d543b45d836e3e07cdd1a95bda52f1c110..9f35deb561705232d74b3329d0b288ee36cb9148 100644 (file)
@@ -63,15 +63,11 @@ static int exynos_drm_fb_mmap(struct fb_info *info,
 
 static struct fb_ops exynos_drm_fb_ops = {
        .owner          = THIS_MODULE,
+       DRM_FB_HELPER_DEFAULT_OPS,
        .fb_mmap        = exynos_drm_fb_mmap,
        .fb_fillrect    = drm_fb_helper_cfb_fillrect,
        .fb_copyarea    = drm_fb_helper_cfb_copyarea,
        .fb_imageblit   = drm_fb_helper_cfb_imageblit,
-       .fb_check_var   = drm_fb_helper_check_var,
-       .fb_set_par     = drm_fb_helper_set_par,
-       .fb_blank       = drm_fb_helper_blank,
-       .fb_pan_display = drm_fb_helper_pan_display,
-       .fb_setcmap     = drm_fb_helper_setcmap,
 };
 
 static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,