summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-01-28 16:05:16 +0100
committerTakashi Iwai <tiwai@suse.de>2009-01-28 16:05:16 +0100
commite167280070cccd2e0cde94f73ded0a4b08bf6412 (patch)
tree0fa40bec3917172ec78dee2a1a6e78a6604a54c7
parentALSA: Don't cold reset AC97 codecs in some ICH chipsets (diff)
downloadlinux-e167280070cccd2e0cde94f73ded0a4b08bf6412.tar.xz
linux-e167280070cccd2e0cde94f73ded0a4b08bf6412.zip
ALSA: intel8x0 - Fix build with CONFIG_SND_AC97_POWERSAVE=n
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/intel8x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c
index b37bd268301f..b13ef1e2a4a3 100644
--- a/sound/pci/intel8x0.c
+++ b/sound/pci/intel8x0.c
@@ -2317,7 +2317,7 @@ static int snd_intel8x0_ich_chip_cold_reset(struct intel8x0 *chip)
#define snd_intel8x0_ich_chip_can_cold_reset(chip) \
(!snd_pci_quirk_lookup(chip->pci, ich_chip_reset_mode))
#else
-#define snd_intel8x0_ich_chip_cold_reset(x) do { } while (0)
+#define snd_intel8x0_ich_chip_cold_reset(chip) 0
#define snd_intel8x0_ich_chip_can_cold_reset(chip) (0)
#endif