diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-08-31 08:09:26 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-08 07:45:52 -0400 |
commit | b7c914b3d94e93bd9b442226231b0bba84c9fa2c (patch) | |
tree | f7be69acb9be36f385d04d239cbea745b67f6415 /drivers/gpu/drm/nouveau/dispnv04/tvnv17.h | |
parent | a5b62374618f629f5d9d6d86f3bef9b552fc980b (diff) |
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/nouveau/dispnv04/tvnv17.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/tvnv17.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv04/tvnv17.h b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.h index 459910b6bb32..1b07521cde0d 100644 --- a/drivers/gpu/drm/nouveau/dispnv04/tvnv17.h +++ b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.h | |||
@@ -85,7 +85,7 @@ struct nv17_tv_encoder { | |||
85 | #define to_tv_enc(x) container_of(nouveau_encoder(x), \ | 85 | #define to_tv_enc(x) container_of(nouveau_encoder(x), \ |
86 | struct nv17_tv_encoder, base) | 86 | struct nv17_tv_encoder, base) |
87 | 87 | ||
88 | extern char *nv17_tv_norm_names[NUM_TV_NORMS]; | 88 | extern const char * const nv17_tv_norm_names[NUM_TV_NORMS]; |
89 | 89 | ||
90 | extern struct nv17_tv_norm_params { | 90 | extern struct nv17_tv_norm_params { |
91 | enum { | 91 | enum { |