]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/fb_cma_helper: remove duplicate const from drm_fb_cma_alloc
authorColin Ian King <colin.king@canonical.com>
Wed, 20 Jan 2016 10:59:34 +0000 (10:59 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Jan 2016 12:55:57 +0000 (13:55 +0100)
Duplicated const, only one is required.  Also reformat line to ensure
it is less than 80 columns wide.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453287574-3645-1-git-send-email-colin.king@canonical.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_fb_cma_helper.c

index c895b6fddbd818052335dff264cfe9685fc3af67..bb88e3df925712e52af66869e4a23563221dc36c 100644 (file)
@@ -74,7 +74,8 @@ static struct drm_framebuffer_funcs drm_fb_cma_funcs = {
 };
 
 static struct drm_fb_cma *drm_fb_cma_alloc(struct drm_device *dev,
-       const const struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_cma_object **obj,
+       const struct drm_mode_fb_cmd2 *mode_cmd,
+       struct drm_gem_cma_object **obj,
        unsigned int num_planes)
 {
        struct drm_fb_cma *fb_cma;