aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs4271.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/cs4271.c')
-rw-r--r--sound/soc/codecs/cs4271.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index 69fde1506fe1..f6fe846b6a6c 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
@@ -402,7 +402,7 @@ static const struct snd_kcontrol_new cs4271_snd_controls[] = {
402 7, 1, 1), 402 7, 1, 1),
403}; 403};
404 404
405static struct snd_soc_dai_ops cs4271_dai_ops = { 405static const struct snd_soc_dai_ops cs4271_dai_ops = {
406 .hw_params = cs4271_hw_params, 406 .hw_params = cs4271_hw_params,
407 .set_sysclk = cs4271_set_dai_sysclk, 407 .set_sysclk = cs4271_set_dai_sysclk,
408 .set_fmt = cs4271_set_dai_fmt, 408 .set_fmt = cs4271_set_dai_fmt,
@@ -430,7 +430,7 @@ static struct snd_soc_dai_driver cs4271_dai = {
430}; 430};
431 431
432#ifdef CONFIG_PM 432#ifdef CONFIG_PM
433static int cs4271_soc_suspend(struct snd_soc_codec *codec, pm_message_t mesg) 433static int cs4271_soc_suspend(struct snd_soc_codec *codec)
434{ 434{
435 int ret; 435 int ret;
436 /* Set power-down bit */ 436 /* Set power-down bit */