diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/ssm2602.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c index af76bbd1b24f..f444d585b916 100644 --- a/sound/soc/codecs/ssm2602.c +++ b/sound/soc/codecs/ssm2602.c | |||
@@ -52,7 +52,7 @@ enum ssm2602_type { | |||
52 | /* codec private data */ | 52 | /* codec private data */ |
53 | struct ssm2602_priv { | 53 | struct ssm2602_priv { |
54 | unsigned int sysclk; | 54 | unsigned int sysclk; |
55 | struct snd_pcm_hw_constraint_list *sysclk_constraints; | 55 | const struct snd_pcm_hw_constraint_list *sysclk_constraints; |
56 | 56 | ||
57 | struct regmap *regmap; | 57 | struct regmap *regmap; |
58 | 58 | ||
@@ -197,7 +197,7 @@ static const unsigned int ssm2602_rates_12288000[] = { | |||
197 | 8000, 16000, 32000, 48000, 96000, | 197 | 8000, 16000, 32000, 48000, 96000, |
198 | }; | 198 | }; |
199 | 199 | ||
200 | static struct snd_pcm_hw_constraint_list ssm2602_constraints_12288000 = { | 200 | static const struct snd_pcm_hw_constraint_list ssm2602_constraints_12288000 = { |
201 | .list = ssm2602_rates_12288000, | 201 | .list = ssm2602_rates_12288000, |
202 | .count = ARRAY_SIZE(ssm2602_rates_12288000), | 202 | .count = ARRAY_SIZE(ssm2602_rates_12288000), |
203 | }; | 203 | }; |
@@ -206,7 +206,7 @@ static const unsigned int ssm2602_rates_11289600[] = { | |||
206 | 8000, 44100, 88200, | 206 | 8000, 44100, 88200, |
207 | }; | 207 | }; |
208 | 208 | ||
209 | static struct snd_pcm_hw_constraint_list ssm2602_constraints_11289600 = { | 209 | static const struct snd_pcm_hw_constraint_list ssm2602_constraints_11289600 = { |
210 | .list = ssm2602_rates_11289600, | 210 | .list = ssm2602_rates_11289600, |
211 | .count = ARRAY_SIZE(ssm2602_rates_11289600), | 211 | .count = ARRAY_SIZE(ssm2602_rates_11289600), |
212 | }; | 212 | }; |