]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: Constify struct drm_fb_helper_funcs
authorThierry Reding <treding@nvidia.com>
Fri, 27 Jun 2014 15:19:23 +0000 (17:19 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Jul 2014 01:31:15 +0000 (11:31 +1000)
commit3a4938799dec32783759b0c66ee3bb8c82dd9937
tree73e2aa792cbc2048a0b662d2e9bdf874c5d6e5c1
parent50c3dc970a09b3b60422a58934cc27a413288bab
drm: Constify struct drm_fb_helper_funcs

There's no need for this to be modifiable. Make it const so that it can
be put into the .rodata section.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
17 files changed:
drivers/gpu/drm/armada/armada_fbdev.c
drivers/gpu/drm/ast/ast_fb.c
drivers/gpu/drm/bochs/bochs_fbdev.c
drivers/gpu/drm/cirrus/cirrus_fbdev.c
drivers/gpu/drm/drm_fb_cma_helper.c
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
drivers/gpu/drm/gma500/framebuffer.c
drivers/gpu/drm/i915/intel_fbdev.c
drivers/gpu/drm/mgag200/mgag200_fb.c
drivers/gpu/drm/msm/msm_fbdev.c
drivers/gpu/drm/nouveau/nouveau_fbcon.c
drivers/gpu/drm/omapdrm/omap_fbdev.c
drivers/gpu/drm/qxl/qxl_fb.c
drivers/gpu/drm/radeon/radeon_fb.c
drivers/gpu/drm/tegra/fb.c
drivers/gpu/drm/udl/udl_fb.c
include/drm/drm_fb_helper.h