All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben-linux@fluff.org>
To: alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com
Cc: Ben Dooks <ben-linux@fluff.org>
Subject: [PATCH] ASoC: Fix s3c-i2s-v2.c snd_soc_dai changes
Date: Thu, 16 Apr 2009 10:32:22 +0100	[thread overview]
Message-ID: <1239874343-7280-4-git-send-email-ben-linux@fluff.org> (raw)
In-Reply-To: <1239874343-7280-3-git-send-email-ben-linux@fluff.org>

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>
---
 sound/soc/s3c24xx/s3c-i2s-v2.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/sound/soc/s3c24xx/s3c-i2s-v2.c b/sound/soc/s3c24xx/s3c-i2s-v2.c
index 295a4c9..b983ad7 100644
--- a/sound/soc/s3c24xx/s3c-i2s-v2.c
+++ b/sound/soc/s3c24xx/s3c-i2s-v2.c
@@ -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;
-- 
1.5.6.5

  reply	other threads:[~2009-04-16  9:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16  9:32 ASoC fixes for 2.6.30-rc for s3c24xx Ben Dooks
2009-04-16  9:32 ` [PATCH] ASoC: Fix jive_wm8750.c build problems Ben Dooks
2009-04-16  9:32   ` [PATCH] ASoC: Fix include build error in s3c2412-i2s.c Ben Dooks
2009-04-16  9:32     ` Ben Dooks [this message]
2009-04-16  9:32       ` [PATCH] ASoC: s3c-i2s-v2.c fix for s3c_i2sv2_iis_calc_rate Ben Dooks
2009-04-16  9:57         ` Mark Brown
2009-04-16  9:58       ` [PATCH] ASoC: Fix s3c-i2s-v2.c snd_soc_dai changes Mark Brown
2009-04-16  9:58     ` [PATCH] ASoC: Fix include build error in s3c2412-i2s.c Mark Brown
2009-04-16  9:56   ` [PATCH] ASoC: Fix jive_wm8750.c build problems Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239874343-7280-4-git-send-email-ben-linux@fluff.org \
    --to=ben-linux@fluff.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.