projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02834f1
)
ALSA: Fix a compile warning in cs46xx_lib.c
author
Takashi Iwai
<tiwai@suse.de>
Mon, 1 Dec 2008 14:28:07 +0000
(15:28 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 1 Dec 2008 14:28:07 +0000
(15:28 +0100)
Fix a build warning
sound/pci/cs46xx/cs46xx_lib.c:3643: warning: unused variable āiā
when CONFIG_SND_CS46XX_NEW_DSP=n.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs46xx/cs46xx_lib.c
patch
|
blob
|
history
diff --git
a/sound/pci/cs46xx/cs46xx_lib.c
b/sound/pci/cs46xx/cs46xx_lib.c
index
fb6dc39
..
8ab07aa
100644
(file)
--- a/
sound/pci/cs46xx/cs46xx_lib.c
+++ b/
sound/pci/cs46xx/cs46xx_lib.c
@@
-3640,7
+3640,10
@@
int snd_cs46xx_resume(struct pci_dev *pci)
{
struct snd_card *card = pci_get_drvdata(pci);
struct snd_cs46xx *chip = card->private_data;
- int i, amp_saved;
+ int amp_saved;
+#ifdef CONFIG_SND_CS46XX_NEW_DSP
+ int i;
+#endif
pci_set_power_state(pci, PCI_D0);
pci_restore_state(pci);