diff options
-rw-r--r-- | sound/soc/codecs/twl6040.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 0afe8bef6765..cb642c927dc8 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c | |||
@@ -81,7 +81,7 @@ struct twl6040_data { | |||
81 | }; | 81 | }; |
82 | 82 | ||
83 | /* set of rates for each pll: low-power and high-performance */ | 83 | /* set of rates for each pll: low-power and high-performance */ |
84 | static unsigned int lp_rates[] = { | 84 | static const unsigned int lp_rates[] = { |
85 | 8000, | 85 | 8000, |
86 | 11250, | 86 | 11250, |
87 | 16000, | 87 | 16000, |
@@ -93,7 +93,7 @@ static unsigned int lp_rates[] = { | |||
93 | 96000, | 93 | 96000, |
94 | }; | 94 | }; |
95 | 95 | ||
96 | static unsigned int hp_rates[] = { | 96 | static const unsigned int hp_rates[] = { |
97 | 8000, | 97 | 8000, |
98 | 16000, | 98 | 16000, |
99 | 32000, | 99 | 32000, |
@@ -101,7 +101,7 @@ static unsigned int hp_rates[] = { | |||
101 | 96000, | 101 | 96000, |
102 | }; | 102 | }; |
103 | 103 | ||
104 | static struct snd_pcm_hw_constraint_list sysclk_constraints[] = { | 104 | static const struct snd_pcm_hw_constraint_list sysclk_constraints[] = { |
105 | { .count = ARRAY_SIZE(lp_rates), .list = lp_rates, }, | 105 | { .count = ARRAY_SIZE(lp_rates), .list = lp_rates, }, |
106 | { .count = ARRAY_SIZE(hp_rates), .list = hp_rates, }, | 106 | { .count = ARRAY_SIZE(hp_rates), .list = hp_rates, }, |
107 | }; | 107 | }; |