diff options
author | Stefan Christ <contact@stefanchrist.eu> | 2016-11-13 18:03:23 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-11-14 01:57:59 -0500 |
commit | 812162f04fa3af70b72065090ef455a85a84d410 (patch) | |
tree | 5a9ac1fa6c7100b49f535cefbf21ca04ff22171b | |
parent | 902c255b52de42e96f5df8f59bb99e1041261fc4 (diff) |
drm/udl: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops
Cc: Dave Airlie <airlied@redhat.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-14-git-send-email-contact@stefanchrist.eu
-rw-r--r-- | drivers/gpu/drm/udl/udl_fb.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c index 611b6b9bb3cb..167f42c67c7c 100644 --- a/drivers/gpu/drm/udl/udl_fb.c +++ b/drivers/gpu/drm/udl/udl_fb.c | |||
@@ -254,16 +254,10 @@ static int udl_fb_release(struct fb_info *info, int user) | |||
254 | 254 | ||
255 | static struct fb_ops udlfb_ops = { | 255 | static struct fb_ops udlfb_ops = { |
256 | .owner = THIS_MODULE, | 256 | .owner = THIS_MODULE, |
257 | .fb_check_var = drm_fb_helper_check_var, | 257 | DRM_FB_HELPER_DEFAULT_OPS, |
258 | .fb_set_par = drm_fb_helper_set_par, | ||
259 | .fb_fillrect = drm_fb_helper_sys_fillrect, | 258 | .fb_fillrect = drm_fb_helper_sys_fillrect, |
260 | .fb_copyarea = drm_fb_helper_sys_copyarea, | 259 | .fb_copyarea = drm_fb_helper_sys_copyarea, |
261 | .fb_imageblit = drm_fb_helper_sys_imageblit, | 260 | .fb_imageblit = drm_fb_helper_sys_imageblit, |
262 | .fb_pan_display = drm_fb_helper_pan_display, | ||
263 | .fb_blank = drm_fb_helper_blank, | ||
264 | .fb_setcmap = drm_fb_helper_setcmap, | ||
265 | .fb_debug_enter = drm_fb_helper_debug_enter, | ||
266 | .fb_debug_leave = drm_fb_helper_debug_leave, | ||
267 | .fb_mmap = udl_fb_mmap, | 261 | .fb_mmap = udl_fb_mmap, |
268 | .fb_open = udl_fb_open, | 262 | .fb_open = udl_fb_open, |
269 | .fb_release = udl_fb_release, | 263 | .fb_release = udl_fb_release, |