diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2016-06-13 08:35:14 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-13 10:11:48 -0400 |
commit | a3178a3ed7986f44be7502d7dc6091ff932d9776 (patch) | |
tree | 12caa36ee08a5e2ef77b5eac58d351c94e2d6948 | |
parent | 20b7f7c5f13652d6db84b4a68d2473a0d767cac1 (diff) |
ASoC: arizona: Add a couple of missing consts
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/arizona.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index a6e3881c718e..e678157388bc 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c | |||
@@ -619,7 +619,7 @@ const struct soc_enum arizona_asrc_rate1 = | |||
619 | arizona_rate_text, arizona_rate_val); | 619 | arizona_rate_text, arizona_rate_val); |
620 | EXPORT_SYMBOL_GPL(arizona_asrc_rate1); | 620 | EXPORT_SYMBOL_GPL(arizona_asrc_rate1); |
621 | 621 | ||
622 | static const char *arizona_vol_ramp_text[] = { | 622 | static const char * const arizona_vol_ramp_text[] = { |
623 | "0ms/6dB", "0.5ms/6dB", "1ms/6dB", "2ms/6dB", "4ms/6dB", "8ms/6dB", | 623 | "0ms/6dB", "0.5ms/6dB", "1ms/6dB", "2ms/6dB", "4ms/6dB", "8ms/6dB", |
624 | "15ms/6dB", "30ms/6dB", | 624 | "15ms/6dB", "30ms/6dB", |
625 | }; | 625 | }; |
@@ -648,7 +648,7 @@ SOC_ENUM_SINGLE_DECL(arizona_out_vi_ramp, | |||
648 | arizona_vol_ramp_text); | 648 | arizona_vol_ramp_text); |
649 | EXPORT_SYMBOL_GPL(arizona_out_vi_ramp); | 649 | EXPORT_SYMBOL_GPL(arizona_out_vi_ramp); |
650 | 650 | ||
651 | static const char *arizona_lhpf_mode_text[] = { | 651 | static const char * const arizona_lhpf_mode_text[] = { |
652 | "Low-pass", "High-pass" | 652 | "Low-pass", "High-pass" |
653 | }; | 653 | }; |
654 | 654 | ||
@@ -676,7 +676,7 @@ SOC_ENUM_SINGLE_DECL(arizona_lhpf4_mode, | |||
676 | arizona_lhpf_mode_text); | 676 | arizona_lhpf_mode_text); |
677 | EXPORT_SYMBOL_GPL(arizona_lhpf4_mode); | 677 | EXPORT_SYMBOL_GPL(arizona_lhpf4_mode); |
678 | 678 | ||
679 | static const char *arizona_ng_hold_text[] = { | 679 | static const char * const arizona_ng_hold_text[] = { |
680 | "30ms", "120ms", "250ms", "500ms", | 680 | "30ms", "120ms", "250ms", "500ms", |
681 | }; | 681 | }; |
682 | 682 | ||
@@ -1753,7 +1753,7 @@ restore_aif: | |||
1753 | return ret; | 1753 | return ret; |
1754 | } | 1754 | } |
1755 | 1755 | ||
1756 | static const char *arizona_dai_clk_str(int clk_id) | 1756 | static const char * const arizona_dai_clk_str(int clk_id) |
1757 | { | 1757 | { |
1758 | switch (clk_id) { | 1758 | switch (clk_id) { |
1759 | case ARIZONA_CLK_SYSCLK: | 1759 | case ARIZONA_CLK_SYSCLK: |