diff options
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, |