All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Fix build error in sst_platform.c
@ 2011-12-16  3:47 Axel Lin
  0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2011-12-16  3:47 UTC (permalink / raw)
  To: alsa-devel; +Cc: Vinod Koul, Lu Guanqun, Liam Girdwood, Mark Brown

Fix below build error:

  CC      sound/soc/mid-x86/sst_platform.o
sound/soc/mid-x86/sst_platform.c: In function 'sst_platform_open':
sound/soc/mid-x86/sst_platform.c:274:2: error: 'ret_val' undeclared (first use in this function)
sound/soc/mid-x86/sst_platform.c:274:2: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [sound/soc/mid-x86/sst_platform.o] Error 1
make[2]: *** [sound/soc/mid-x86] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 sound/soc/mid-x86/sst_platform.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/mid-x86/sst_platform.c b/sound/soc/mid-x86/sst_platform.c
index 24f9471..11c39c5 100644
--- a/sound/soc/mid-x86/sst_platform.c
+++ b/sound/soc/mid-x86/sst_platform.c
@@ -267,6 +267,7 @@ static int sst_platform_open(struct snd_pcm_substream *substream)
 {
 	struct snd_pcm_runtime *runtime = substream->runtime;
 	struct sst_runtime_stream *stream;
+	int ret_val;
 
 	pr_debug("sst_platform_open called\n");
 
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-16  3:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16  3:47 [PATCH] ASoC: Fix build error in sst_platform.c Axel Lin

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.