aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/atiixp_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/atiixp_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/atiixp_modem.c')
-rw-r--r--sound/pci/atiixp_modem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/atiixp_modem.c b/sound/pci/atiixp_modem.c
index 79e204ec623f..6fc03d9f2cff 100644
--- a/sound/pci/atiixp_modem.c
+++ b/sound/pci/atiixp_modem.c
@@ -511,7 +511,7 @@ static int snd_atiixp_aclink_reset(struct atiixp_modem *chip)
511 return 0; 511 return 0;
512} 512}
513 513
514#ifdef CONFIG_PM 514#ifdef CONFIG_PM_SLEEP
515static int snd_atiixp_aclink_down(struct atiixp_modem *chip) 515static int snd_atiixp_aclink_down(struct atiixp_modem *chip)
516{ 516{
517 // if (atiixp_read(chip, MODEM_MIRROR) & 0x1) /* modem running, too? */ 517 // if (atiixp_read(chip, MODEM_MIRROR) & 0x1) /* modem running, too? */
@@ -1113,7 +1113,7 @@ static int __devinit snd_atiixp_mixer_new(struct atiixp_modem *chip, int clock)
1113} 1113}
1114 1114
1115 1115
1116#ifdef CONFIG_PM 1116#ifdef CONFIG_PM_SLEEP
1117/* 1117/*
1118 * power management 1118 * power management
1119 */ 1119 */
@@ -1169,7 +1169,7 @@ static SIMPLE_DEV_PM_OPS(snd_atiixp_pm, snd_atiixp_suspend, snd_atiixp_resume);
1169#define SND_ATIIXP_PM_OPS &snd_atiixp_pm 1169#define SND_ATIIXP_PM_OPS &snd_atiixp_pm
1170#else 1170#else
1171#define SND_ATIIXP_PM_OPS NULL 1171#define SND_ATIIXP_PM_OPS NULL
1172#endif /* CONFIG_PM */ 1172#endif /* CONFIG_PM_SLEEP */
1173 1173
1174#ifdef CONFIG_PROC_FS 1174#ifdef CONFIG_PROC_FS
1175/* 1175/*