aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ens1370.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/ens1370.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/ens1370.c')
-rw-r--r--sound/pci/ens1370.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c
index f7e6f73186e1..2ba58d365959 100644
--- a/sound/pci/ens1370.c
+++ b/sound/pci/ens1370.c
@@ -2032,7 +2032,7 @@ static void snd_ensoniq_chip_init(struct ensoniq *ensoniq)
2032 synchronize_irq(ensoniq->irq); 2032 synchronize_irq(ensoniq->irq);
2033} 2033}
2034 2034
2035#ifdef CONFIG_PM 2035#ifdef CONFIG_PM_SLEEP
2036static int snd_ensoniq_suspend(struct device *dev) 2036static int snd_ensoniq_suspend(struct device *dev)
2037{ 2037{
2038 struct pci_dev *pci = to_pci_dev(dev); 2038 struct pci_dev *pci = to_pci_dev(dev);
@@ -2094,7 +2094,7 @@ static SIMPLE_DEV_PM_OPS(snd_ensoniq_pm, snd_ensoniq_suspend, snd_ensoniq_resume
2094#define SND_ENSONIQ_PM_OPS &snd_ensoniq_pm 2094#define SND_ENSONIQ_PM_OPS &snd_ensoniq_pm
2095#else 2095#else
2096#define SND_ENSONIQ_PM_OPS NULL 2096#define SND_ENSONIQ_PM_OPS NULL
2097#endif /* CONFIG_PM */ 2097#endif /* CONFIG_PM_SLEEP */
2098 2098
2099static int __devinit snd_ensoniq_create(struct snd_card *card, 2099static int __devinit snd_ensoniq_create(struct snd_card *card,
2100 struct pci_dev *pci, 2100 struct pci_dev *pci,