diff options
Diffstat (limited to 'sound/soc/sh')
-rw-r--r-- | sound/soc/sh/fsi.c | 2 | ||||
-rw-r--r-- | sound/soc/sh/hac.c | 2 | ||||
-rw-r--r-- | sound/soc/sh/siu_dai.c | 2 | ||||
-rw-r--r-- | sound/soc/sh/ssi.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 99ed61024166..aa3033075a0d 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -1096,7 +1096,7 @@ static int fsi_dai_hw_params(struct snd_pcm_substream *substream, | |||
1096 | return ret; | 1096 | return ret; |
1097 | } | 1097 | } |
1098 | 1098 | ||
1099 | static struct snd_soc_dai_ops fsi_dai_ops = { | 1099 | static const struct snd_soc_dai_ops fsi_dai_ops = { |
1100 | .startup = fsi_dai_startup, | 1100 | .startup = fsi_dai_startup, |
1101 | .shutdown = fsi_dai_shutdown, | 1101 | .shutdown = fsi_dai_shutdown, |
1102 | .trigger = fsi_dai_trigger, | 1102 | .trigger = fsi_dai_trigger, |
diff --git a/sound/soc/sh/hac.c b/sound/soc/sh/hac.c index c87e3ff28a0a..a1f307b9a82d 100644 --- a/sound/soc/sh/hac.c +++ b/sound/soc/sh/hac.c | |||
@@ -266,7 +266,7 @@ static int hac_hw_params(struct snd_pcm_substream *substream, | |||
266 | #define AC97_FMTS \ | 266 | #define AC97_FMTS \ |
267 | SNDRV_PCM_FMTBIT_S16_LE | 267 | SNDRV_PCM_FMTBIT_S16_LE |
268 | 268 | ||
269 | static struct snd_soc_dai_ops hac_dai_ops = { | 269 | static const struct snd_soc_dai_ops hac_dai_ops = { |
270 | .hw_params = hac_hw_params, | 270 | .hw_params = hac_hw_params, |
271 | }; | 271 | }; |
272 | 272 | ||
diff --git a/sound/soc/sh/siu_dai.c b/sound/soc/sh/siu_dai.c index edacfeb13b94..93dea49ff1a7 100644 --- a/sound/soc/sh/siu_dai.c +++ b/sound/soc/sh/siu_dai.c | |||
@@ -707,7 +707,7 @@ epclkget: | |||
707 | return ret; | 707 | return ret; |
708 | } | 708 | } |
709 | 709 | ||
710 | static struct snd_soc_dai_ops siu_dai_ops = { | 710 | static const struct snd_soc_dai_ops siu_dai_ops = { |
711 | .startup = siu_dai_startup, | 711 | .startup = siu_dai_startup, |
712 | .shutdown = siu_dai_shutdown, | 712 | .shutdown = siu_dai_shutdown, |
713 | .prepare = siu_dai_prepare, | 713 | .prepare = siu_dai_prepare, |
diff --git a/sound/soc/sh/ssi.c b/sound/soc/sh/ssi.c index e0c621c0553b..1fda16a00e6a 100644 --- a/sound/soc/sh/ssi.c +++ b/sound/soc/sh/ssi.c | |||
@@ -332,7 +332,7 @@ static int ssi_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) | |||
332 | SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_U24_3LE | \ | 332 | SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_U24_3LE | \ |
333 | SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_U32_LE) | 333 | SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_U32_LE) |
334 | 334 | ||
335 | static struct snd_soc_dai_ops ssi_dai_ops = { | 335 | static const struct snd_soc_dai_ops ssi_dai_ops = { |
336 | .startup = ssi_startup, | 336 | .startup = ssi_startup, |
337 | .shutdown = ssi_shutdown, | 337 | .shutdown = ssi_shutdown, |
338 | .trigger = ssi_trigger, | 338 | .trigger = ssi_trigger, |