ALSA: intel8x0 - Fix build with CONFIG_SND_AC97_POWERSAVE=n
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2009 15:05:16 +0000 (16:05 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2009 15:05:16 +0000 (16:05 +0100)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/intel8x0.c

index b37bd268301f138dd455c4934b65bafbff4f95ff..b13ef1e2a4a3e1a1ef66a3de92aceaa77cb5eb40 100644 (file)
@@ -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