diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-08-14 12:12:04 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-14 12:12:04 -0400 |
commit | c7561cd80469f2fe4a6be0984db57832ee7f2a3b (patch) | |
tree | 02ce843b7caed4d41ef6d17450e6b05b96c94952 /sound/pci/cs4281.c | |
parent | 7ccbde57ce312ff1388c2990699f8863280808ac (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/cs4281.c')
-rw-r--r-- | sound/pci/cs4281.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c index 45a8317085f4..8e86ec0031fc 100644 --- a/sound/pci/cs4281.c +++ b/sound/pci/cs4281.c | |||
@@ -486,7 +486,7 @@ struct cs4281 { | |||
486 | 486 | ||
487 | struct gameport *gameport; | 487 | struct gameport *gameport; |
488 | 488 | ||
489 | #ifdef CONFIG_PM | 489 | #ifdef CONFIG_PM_SLEEP |
490 | u32 suspend_regs[SUSPEND_REGISTERS]; | 490 | u32 suspend_regs[SUSPEND_REGISTERS]; |
491 | #endif | 491 | #endif |
492 | 492 | ||
@@ -1977,7 +1977,7 @@ static void __devexit snd_cs4281_remove(struct pci_dev *pci) | |||
1977 | /* | 1977 | /* |
1978 | * Power Management | 1978 | * Power Management |
1979 | */ | 1979 | */ |
1980 | #ifdef CONFIG_PM | 1980 | #ifdef CONFIG_PM_SLEEP |
1981 | 1981 | ||
1982 | static int saved_regs[SUSPEND_REGISTERS] = { | 1982 | static int saved_regs[SUSPEND_REGISTERS] = { |
1983 | BA0_JSCTL, | 1983 | BA0_JSCTL, |
@@ -2089,7 +2089,7 @@ static SIMPLE_DEV_PM_OPS(cs4281_pm, cs4281_suspend, cs4281_resume); | |||
2089 | #define CS4281_PM_OPS &cs4281_pm | 2089 | #define CS4281_PM_OPS &cs4281_pm |
2090 | #else | 2090 | #else |
2091 | #define CS4281_PM_OPS NULL | 2091 | #define CS4281_PM_OPS NULL |
2092 | #endif /* CONFIG_PM */ | 2092 | #endif /* CONFIG_PM_SLEEP */ |
2093 | 2093 | ||
2094 | static struct pci_driver cs4281_driver = { | 2094 | static struct pci_driver cs4281_driver = { |
2095 | .name = KBUILD_MODNAME, | 2095 | .name = KBUILD_MODNAME, |