diff options
author | Thierry Reding <treding@nvidia.com> | 2014-06-27 11:19:23 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-07-07 21:31:15 -0400 |
commit | 3a4938799dec32783759b0c66ee3bb8c82dd9937 (patch) | |
tree | 73e2aa792cbc2048a0b662d2e9bdf874c5d6e5c1 /include/drm | |
parent | 50c3dc970a09b3b60422a58934cc27a413288bab (diff) |
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>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_fb_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index 7997246d4039..a47df7ca38e8 100644 --- a/include/drm/drm_fb_helper.h +++ b/include/drm/drm_fb_helper.h | |||
@@ -87,7 +87,7 @@ struct drm_fb_helper { | |||
87 | struct drm_fb_helper_crtc *crtc_info; | 87 | struct drm_fb_helper_crtc *crtc_info; |
88 | int connector_count; | 88 | int connector_count; |
89 | struct drm_fb_helper_connector **connector_info; | 89 | struct drm_fb_helper_connector **connector_info; |
90 | struct drm_fb_helper_funcs *funcs; | 90 | const struct drm_fb_helper_funcs *funcs; |
91 | struct fb_info *fbdev; | 91 | struct fb_info *fbdev; |
92 | u32 pseudo_palette[17]; | 92 | u32 pseudo_palette[17]; |
93 | struct list_head kernel_fb_list; | 93 | struct list_head kernel_fb_list; |