diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-12-15 18:24:54 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-12-16 07:50:15 +0100 |
commit | c45471eac2bdc271df40963ac8448d76ac434872 (patch) | |
tree | 6b61453f980045e9a16291be216bade6d043b1b3 /sound | |
parent | 9215aa4d96add60e95adccbcb11b1dc16a8c3422 (diff) | |
download | linux-3.10-c45471eac2bdc271df40963ac8448d76ac434872.tar.gz linux-3.10-c45471eac2bdc271df40963ac8448d76ac434872.tar.bz2 linux-3.10-c45471eac2bdc271df40963ac8448d76ac434872.zip |
ASoC: Fix compile error in sound/soc/mid-x86/sst_platform.c
The variable ret_val is used but not declared. This causes
the following compile error:
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[1]: *** [sound/soc/mid-x86/sst_platform.o] Error 1
Fix this.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | 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 24f94714694..11c39c548a0 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"); |