summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i2c/ch7006_priv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-08-31 14:09:26 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-09-08 13:45:52 +0200
commitb7c914b3d94e93bd9b442226231b0bba84c9fa2c (patch)
treef7be69acb9be36f385d04d239cbea745b67f6415 /drivers/gpu/drm/i2c/ch7006_priv.h
parentdrm: Constify generic_edid_names[] (diff)
downloadlinux-b7c914b3d94e93bd9b442226231b0bba84c9fa2c.tar.xz
linux-b7c914b3d94e93bd9b442226231b0bba84c9fa2c.zip
drm: Constify TV mode names
Make the mode names passed to drm_mode_create_tv_properties() const. drivers/gpu/drm/i2c/ch7006.ko: -.rodata 596 +.rodata 664 -.data 7064 +.data 6992 drivers/gpu/drm/nouveau/nouveau.ko: -.rodata 146808 +.rodata 146904 -.data 178624 +.data 178528 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i2c/ch7006_priv.h')
-rw-r--r--drivers/gpu/drm/i2c/ch7006_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i2c/ch7006_priv.h b/drivers/gpu/drm/i2c/ch7006_priv.h
index ce577841f931..cef6ce7c79d1 100644
--- a/drivers/gpu/drm/i2c/ch7006_priv.h
+++ b/drivers/gpu/drm/i2c/ch7006_priv.h
@@ -106,7 +106,7 @@ extern int ch7006_debug;
extern char *ch7006_tv_norm;
extern int ch7006_scale;
-extern char *ch7006_tv_norm_names[];
+extern const char * const ch7006_tv_norm_names[];
extern struct ch7006_tv_norm_info ch7006_tv_norms[];
extern struct ch7006_mode ch7006_modes[];