The variable ret_val is used but not declared. This causes the following compile error:
sound/soc/mid-x86/sst_platform.c: In function =E2=80=98sst_platform_open=E2= =80=99: sound/soc/mid-x86/sst_platform.c:274:2: error: =E2=80=98ret_val=E2=80=99 = 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 --- 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_pla= tform.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 =3D substream->runtime; struct sst_runtime_stream *stream; + int ret_val; =20 pr_debug("sst_platform_open called\n"); =20 --=20 1.7.5.4
--=20 AMD Operating System Research Center
Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo, Andrew Bowd Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 4= 3632