diff options
author | Takashi Iwai | 2020-01-05 15:47:24 +0100 |
---|---|---|
committer | Takashi Iwai | 2020-01-05 16:14:32 +0100 |
commit | bf82326fce53321c3f9088874dc12dcbd6d0ca06 (patch) | |
tree | 4f93ce78249d4996445924d9bc927f21d7feb244 /sound/hda/hdmi_chmap.c | |
parent | f729f88a04089d2a0f2783182027347e0446b900 (diff) |
ALSA: hda: More constifications
Apply const prefix to the remaining possible places: the string
tables, the rate tables, the verb tables, the index tables, etc.
Just for minor optimization and no functional changes.
Link: https://lore.kernel.org/r/20200105144823.29547-10-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/hdmi_chmap.c')
-rw-r--r-- | sound/hda/hdmi_chmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/hda/hdmi_chmap.c b/sound/hda/hdmi_chmap.c index 886cb7811bd6..5fd6d575e123 100644 --- a/sound/hda/hdmi_chmap.c +++ b/sound/hda/hdmi_chmap.c @@ -59,7 +59,7 @@ static const char * const cea_speaker_allocation_names[] = { /* * ELD SA bits in the CEA Speaker Allocation data block */ -static int eld_speaker_allocation_bits[] = { +static const int eld_speaker_allocation_bits[] = { [0] = FL | FR, [1] = LFE, [2] = FC, |