Commit 0b6ac3c8 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Daniel Vetter

drm/i2c/sil164: Constify function pointer structs

Moves a bunch of junk to .rodata from .data.

 drivers/gpu/drm/i2c/sil164.ko:
-.text                       1660
+.text                       1656
-.rodata                       56
+.rodata                      104
-.data                        212
+.data                        164
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450178476-26284-21-git-send-email-boris.brezillon@free-electrons.comSigned-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent d2267b9f
...@@ -341,7 +341,7 @@ sil164_encoder_destroy(struct drm_encoder *encoder) ...@@ -341,7 +341,7 @@ sil164_encoder_destroy(struct drm_encoder *encoder)
drm_i2c_encoder_destroy(encoder); drm_i2c_encoder_destroy(encoder);
} }
static struct drm_encoder_slave_funcs sil164_encoder_funcs = { static const struct drm_encoder_slave_funcs sil164_encoder_funcs = {
.set_config = sil164_encoder_set_config, .set_config = sil164_encoder_set_config,
.destroy = sil164_encoder_destroy, .destroy = sil164_encoder_destroy,
.dpms = sil164_encoder_dpms, .dpms = sil164_encoder_dpms,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment