summaryrefslogtreecommitdiffstats
path: root/sound/pci/als4000.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/als4000.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/als4000.c')
-rw-r--r--sound/pci/als4000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/als4000.c b/sound/pci/als4000.c
index 0eeca49c5754..feb2a1436830 100644
--- a/sound/pci/als4000.c
+++ b/sound/pci/als4000.c
@@ -987,7 +987,7 @@ static void __devexit snd_card_als4000_remove(struct pci_dev *pci)
987 pci_set_drvdata(pci, NULL); 987 pci_set_drvdata(pci, NULL);
988} 988}
989 989
990#ifdef CONFIG_PM 990#ifdef CONFIG_PM_SLEEP
991static int snd_als4000_suspend(struct device *dev) 991static int snd_als4000_suspend(struct device *dev)
992{ 992{
993 struct pci_dev *pci = to_pci_dev(dev); 993 struct pci_dev *pci = to_pci_dev(dev);
@@ -1040,7 +1040,7 @@ static SIMPLE_DEV_PM_OPS(snd_als4000_pm, snd_als4000_suspend, snd_als4000_resume
1040#define SND_ALS4000_PM_OPS &snd_als4000_pm 1040#define SND_ALS4000_PM_OPS &snd_als4000_pm
1041#else 1041#else
1042#define SND_ALS4000_PM_OPS NULL 1042#define SND_ALS4000_PM_OPS NULL
1043#endif /* CONFIG_PM */ 1043#endif /* CONFIG_PM_SLEEP */
1044 1044
1045static struct pci_driver als4000_driver = { 1045static struct pci_driver als4000_driver = {
1046 .name = KBUILD_MODNAME, 1046 .name = KBUILD_MODNAME,