aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Christ <contact@stefanchrist.eu>2016-11-13 18:03:21 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-11-14 01:56:52 -0500
commit13be31f95892146529edccb98231b166802dd1d0 (patch)
treefc4426920e1a02e14d13cb8c2778b575074bdb80
parent72b6bcb1a2a4d61a5cff87f74c91f1ab39b1a40d (diff)
drm/radeon: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops
Cc: Alex Deucher <alexander.deucher@amd.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-12-git-send-email-contact@stefanchrist.eu
-rw-r--r--drivers/gpu/drm/radeon/radeon_fb.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c
index f65f29911dca..899b6a1644bd 100644
--- a/drivers/gpu/drm/radeon/radeon_fb.c
+++ b/drivers/gpu/drm/radeon/radeon_fb.c
@@ -74,18 +74,12 @@ radeonfb_release(struct fb_info *info, int user)
74 74
75static struct fb_ops radeonfb_ops = { 75static struct fb_ops radeonfb_ops = {
76 .owner = THIS_MODULE, 76 .owner = THIS_MODULE,
77 DRM_FB_HELPER_DEFAULT_OPS,
77 .fb_open = radeonfb_open, 78 .fb_open = radeonfb_open,
78 .fb_release = radeonfb_release, 79 .fb_release = radeonfb_release,
79 .fb_check_var = drm_fb_helper_check_var,
80 .fb_set_par = drm_fb_helper_set_par,
81 .fb_fillrect = drm_fb_helper_cfb_fillrect, 80 .fb_fillrect = drm_fb_helper_cfb_fillrect,
82 .fb_copyarea = drm_fb_helper_cfb_copyarea, 81 .fb_copyarea = drm_fb_helper_cfb_copyarea,
83 .fb_imageblit = drm_fb_helper_cfb_imageblit, 82 .fb_imageblit = drm_fb_helper_cfb_imageblit,
84 .fb_pan_display = drm_fb_helper_pan_display,
85 .fb_blank = drm_fb_helper_blank,
86 .fb_setcmap = drm_fb_helper_setcmap,
87 .fb_debug_enter = drm_fb_helper_debug_enter,
88 .fb_debug_leave = drm_fb_helper_debug_leave,
89}; 83};
90 84
91 85