diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-10-31 04:41:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-31 07:32:12 +0100 |
commit | 57b41898c2ecd13a9d338b66ef23f66caab5c4e9 (patch) | |
tree | 068ac15fb6d4f8c5c9f0aabe557368bd723946a6 | |
parent | ALSA: ASoC - Fix a typo in Kconfig (diff) | |
download | linux-57b41898c2ecd13a9d338b66ef23f66caab5c4e9.tar.xz linux-57b41898c2ecd13a9d338b66ef23f66caab5c4e9.zip |
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>
-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); int snd_soc_dapm_sys_add(struct device *dev) { + int ret; + if (!dapm_status) return 0; |