aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/via82xx_modem.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-08-14 12:12:04 -0400
committerTakashi Iwai <tiwai@suse.de>2012-08-14 12:12:04 -0400
commitc7561cd80469f2fe4a6be0984db57832ee7f2a3b (patch)
tree02ce843b7caed4d41ef6d17450e6b05b96c94952 /sound/pci/via82xx_modem.c
parent7ccbde57ce312ff1388c2990699f8863280808ac (diff)
ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP
Otherwise we may get compile warnings due to unused functions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/via82xx_modem.c')
-rw-r--r--sound/pci/via82xx_modem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/via82xx_modem.c b/sound/pci/via82xx_modem.c
index e886bc16999d..8e0efc416f22 100644
--- a/sound/pci/via82xx_modem.c
+++ b/sound/pci/via82xx_modem.c
@@ -1019,7 +1019,7 @@ static int snd_via82xx_chip_init(struct via82xx_modem *chip)
1019 return 0; 1019 return 0;
1020} 1020}
1021 1021
1022#ifdef CONFIG_PM 1022#ifdef CONFIG_PM_SLEEP
1023/* 1023/*
1024 * power management 1024 * power management
1025 */ 1025 */
@@ -1076,7 +1076,7 @@ static SIMPLE_DEV_PM_OPS(snd_via82xx_pm, snd_via82xx_suspend, snd_via82xx_resume
1076#define SND_VIA82XX_PM_OPS &snd_via82xx_pm 1076#define SND_VIA82XX_PM_OPS &snd_via82xx_pm
1077#else 1077#else
1078#define SND_VIA82XX_PM_OPS NULL 1078#define SND_VIA82XX_PM_OPS NULL
1079#endif /* CONFIG_PM */ 1079#endif /* CONFIG_PM_SLEEP */
1080 1080
1081static int snd_via82xx_free(struct via82xx_modem *chip) 1081static int snd_via82xx_free(struct via82xx_modem *chip)
1082{ 1082{