ALSA: intel8x0 - Fix build with CONFIG_SND_AC97_POWERSAVE=n

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:17 pm

Gitweb:     http://git.kernel.org/linus/e167280070cccd2e0cde94f73ded0a4b08bf6412
Commit:     e167280070cccd2e0cde94f73ded0a4b08bf6412
Parent:     e3e9c5e7096f6379ca8fa78413b2055fa29f4530
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Wed Jan 28 16:05:16 2009 +0100
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Wed Jan 28 16:05:16 2009 +0100

    ALSA: intel8x0 - Fix build with CONFIG_SND_AC97_POWERSAVE=n
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/intel8x0.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c
index b37bd26..b13ef1e 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
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: intel8x0 - Fix build with CONFIG_SND_AC97_POWERSAVE=n, Linux Kernel Mailing ..., (Thu Mar 26, 12:17 pm)