diff options
-rw-r--r-- | sound/soc/rockchip/rk3399_gru_sound.c | 6 | ||||
-rw-r--r-- | sound/soc/rockchip/rockchip_max98090.c | 2 | ||||
-rw-r--r-- | sound/soc/rockchip/rockchip_rt5645.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/rockchip/rk3399_gru_sound.c b/sound/soc/rockchip/rk3399_gru_sound.c index 0cbd23555ba4..3475c61a5fa0 100644 --- a/sound/soc/rockchip/rk3399_gru_sound.c +++ b/sound/soc/rockchip/rk3399_gru_sound.c | |||
@@ -228,15 +228,15 @@ static int rockchip_sound_da7219_init(struct snd_soc_pcm_runtime *rtd) | |||
228 | return 0; | 228 | return 0; |
229 | } | 229 | } |
230 | 230 | ||
231 | static struct snd_soc_ops rockchip_sound_max98357a_ops = { | 231 | static const struct snd_soc_ops rockchip_sound_max98357a_ops = { |
232 | .hw_params = rockchip_sound_max98357a_hw_params, | 232 | .hw_params = rockchip_sound_max98357a_hw_params, |
233 | }; | 233 | }; |
234 | 234 | ||
235 | static struct snd_soc_ops rockchip_sound_rt5514_ops = { | 235 | static const struct snd_soc_ops rockchip_sound_rt5514_ops = { |
236 | .hw_params = rockchip_sound_rt5514_hw_params, | 236 | .hw_params = rockchip_sound_rt5514_hw_params, |
237 | }; | 237 | }; |
238 | 238 | ||
239 | static struct snd_soc_ops rockchip_sound_da7219_ops = { | 239 | static const struct snd_soc_ops rockchip_sound_da7219_ops = { |
240 | .hw_params = rockchip_sound_da7219_hw_params, | 240 | .hw_params = rockchip_sound_da7219_hw_params, |
241 | }; | 241 | }; |
242 | 242 | ||
diff --git a/sound/soc/rockchip/rockchip_max98090.c b/sound/soc/rockchip/rockchip_max98090.c index e70ffad07184..789d6f1e2b5f 100644 --- a/sound/soc/rockchip/rockchip_max98090.c +++ b/sound/soc/rockchip/rockchip_max98090.c | |||
@@ -119,7 +119,7 @@ static int rk_aif1_hw_params(struct snd_pcm_substream *substream, | |||
119 | return ret; | 119 | return ret; |
120 | } | 120 | } |
121 | 121 | ||
122 | static struct snd_soc_ops rk_aif1_ops = { | 122 | static const struct snd_soc_ops rk_aif1_ops = { |
123 | .hw_params = rk_aif1_hw_params, | 123 | .hw_params = rk_aif1_hw_params, |
124 | }; | 124 | }; |
125 | 125 | ||
diff --git a/sound/soc/rockchip/rockchip_rt5645.c b/sound/soc/rockchip/rockchip_rt5645.c index 440a8026346a..9e0c17805807 100644 --- a/sound/soc/rockchip/rockchip_rt5645.c +++ b/sound/soc/rockchip/rockchip_rt5645.c | |||
@@ -135,7 +135,7 @@ static int rk_init(struct snd_soc_pcm_runtime *runtime) | |||
135 | &headset_jack); | 135 | &headset_jack); |
136 | } | 136 | } |
137 | 137 | ||
138 | static struct snd_soc_ops rk_aif1_ops = { | 138 | static const struct snd_soc_ops rk_aif1_ops = { |
139 | .hw_params = rk_aif1_hw_params, | 139 | .hw_params = rk_aif1_hw_params, |
140 | }; | 140 | }; |
141 | 141 | ||