diff options
Diffstat (limited to 'sound/soc/codecs/wm8900.c')
-rw-r--r-- | sound/soc/codecs/wm8900.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c index de016f41e04c..d1326be91c8b 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c | |||
@@ -727,7 +727,8 @@ static int wm8900_add_widgets(struct snd_soc_codec *codec) | |||
727 | } | 727 | } |
728 | 728 | ||
729 | static int wm8900_hw_params(struct snd_pcm_substream *substream, | 729 | static int wm8900_hw_params(struct snd_pcm_substream *substream, |
730 | struct snd_pcm_hw_params *params) | 730 | struct snd_pcm_hw_params *params, |
731 | struct snd_soc_dai *dai) | ||
731 | { | 732 | { |
732 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 733 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
733 | struct snd_soc_device *socdev = rtd->socdev; | 734 | struct snd_soc_device *socdev = rtd->socdev; |
@@ -1117,8 +1118,6 @@ struct snd_soc_dai wm8900_dai = { | |||
1117 | }, | 1118 | }, |
1118 | .ops = { | 1119 | .ops = { |
1119 | .hw_params = wm8900_hw_params, | 1120 | .hw_params = wm8900_hw_params, |
1120 | }, | ||
1121 | .dai_ops = { | ||
1122 | .set_clkdiv = wm8900_set_dai_clkdiv, | 1121 | .set_clkdiv = wm8900_set_dai_clkdiv, |
1123 | .set_pll = wm8900_set_dai_pll, | 1122 | .set_pll = wm8900_set_dai_pll, |
1124 | .set_fmt = wm8900_set_dai_fmt, | 1123 | .set_fmt = wm8900_set_dai_fmt, |