]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: ASoC - restore removed variable declaration
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 31 Oct 2008 03:41:06 +0000 (14:41 +1100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 31 Oct 2008 06:32:12 +0000 (07:32 +0100)
sound/soc/soc-dapm.c: In function 'snd_soc_dapm_sys_add':
sound/soc/soc-dapm.c:828: error: 'ret' undeclared (first use in this function)

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/soc-dapm.c

index 407092c226f9c070749987115d5f92ad6c517916..7bf3c4094592c8fb2a3eefa9896010d740e041df 100644 (file)
@@ -822,6 +822,8 @@ static DEVICE_ATTR(dapm_widget, 0444, dapm_widget_show, NULL);
 
 int snd_soc_dapm_sys_add(struct device *dev)
 {
+       int ret;
+
        if (!dapm_status)
                return 0;