Skip to content

Commit a3178a3

Browse files
charleskeepaxbroonie
authored andcommitted
ASoC: arizona: Add a couple of missing consts
Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 20b7f7c commit a3178a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sound/soc/codecs/arizona.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ const struct soc_enum arizona_asrc_rate1 =
619619
arizona_rate_text, arizona_rate_val);
620620
EXPORT_SYMBOL_GPL(arizona_asrc_rate1);
621621

622-
static const char *arizona_vol_ramp_text[] = {
622+
static const char * const arizona_vol_ramp_text[] = {
623623
"0ms/6dB", "0.5ms/6dB", "1ms/6dB", "2ms/6dB", "4ms/6dB", "8ms/6dB",
624624
"15ms/6dB", "30ms/6dB",
625625
};
@@ -648,7 +648,7 @@ SOC_ENUM_SINGLE_DECL(arizona_out_vi_ramp,
648648
arizona_vol_ramp_text);
649649
EXPORT_SYMBOL_GPL(arizona_out_vi_ramp);
650650

651-
static const char *arizona_lhpf_mode_text[] = {
651+
static const char * const arizona_lhpf_mode_text[] = {
652652
"Low-pass", "High-pass"
653653
};
654654

@@ -676,7 +676,7 @@ SOC_ENUM_SINGLE_DECL(arizona_lhpf4_mode,
676676
arizona_lhpf_mode_text);
677677
EXPORT_SYMBOL_GPL(arizona_lhpf4_mode);
678678

679-
static const char *arizona_ng_hold_text[] = {
679+
static const char * const arizona_ng_hold_text[] = {
680680
"30ms", "120ms", "250ms", "500ms",
681681
};
682682

@@ -1753,7 +1753,7 @@ static int arizona_hw_params(struct snd_pcm_substream *substream,
17531753
return ret;
17541754
}
17551755

1756-
static const char *arizona_dai_clk_str(int clk_id)
1756+
static const char * const arizona_dai_clk_str(int clk_id)
17571757
{
17581758
switch (clk_id) {
17591759
case ARIZONA_CLK_SYSCLK:

0 commit comments

Comments
 (0)