diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-10-30 23:41:06 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-31 02:32:12 -0400 |
commit | 57b41898c2ecd13a9d338b66ef23f66caab5c4e9 (patch) | |
tree | 068ac15fb6d4f8c5c9f0aabe557368bd723946a6 /sound/soc/soc-dapm.c | |
parent | 0763722d28b7b58fa1f9b83d3378efcde855b18a (diff) |
ALSA: ASoC - restore removed variable declaration
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>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 407092c226f9..7bf3c4094592 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -822,6 +822,8 @@ static DEVICE_ATTR(dapm_widget, 0444, dapm_widget_show, NULL); | |||
822 | 822 | ||
823 | int snd_soc_dapm_sys_add(struct device *dev) | 823 | int snd_soc_dapm_sys_add(struct device *dev) |
824 | { | 824 | { |
825 | int ret; | ||
826 | |||
825 | if (!dapm_status) | 827 | if (!dapm_status) |
826 | return 0; | 828 | return 0; |
827 | 829 | ||