Skip to content

Commit

Permalink
ASoC: Fix s3c-i2s-v2.c snd_soc_dai changes
Browse files Browse the repository at this point in the history
Fix the build error in s3c-i2s-v2.c caused by
a change to the snd_soc_dai ops field.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Ben Dooks authored and Mark Brown committed Apr 16, 2009
1 parent 1d2b7ae commit 3715c6a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions sound/soc/s3c24xx/s3c-i2s-v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,10 +624,12 @@ static int s3c2412_i2s_resume(struct snd_soc_dai *dai)

int s3c_i2sv2_register_dai(struct snd_soc_dai *dai)
{
dai->ops.trigger = s3c2412_i2s_trigger;
dai->ops.hw_params = s3c2412_i2s_hw_params;
dai->ops.set_fmt = s3c2412_i2s_set_fmt;
dai->ops.set_clkdiv = s3c2412_i2s_set_clkdiv;
struct snd_soc_dai_ops *ops = dai->ops;

ops->trigger = s3c2412_i2s_trigger;
ops->hw_params = s3c2412_i2s_hw_params;
ops->set_fmt = s3c2412_i2s_set_fmt;
ops->set_clkdiv = s3c2412_i2s_set_clkdiv;

dai->suspend = s3c2412_i2s_suspend;
dai->resume = s3c2412_i2s_resume;
Expand Down

0 comments on commit 3715c6a

Please sign in to comment.