diff options
Diffstat (limited to 'sound/pci/azt3328.c')
-rw-r--r-- | sound/pci/azt3328.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index 4dddd871548b..c03b66b784a3 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -365,7 +365,7 @@ struct snd_azf3328 { | |||
365 | * CONFIG_PM register storage below, but that's slightly difficult. */ | 365 | * CONFIG_PM register storage below, but that's slightly difficult. */ |
366 | u16 shadow_reg_ctrl_6AH; | 366 | u16 shadow_reg_ctrl_6AH; |
367 | 367 | ||
368 | #ifdef CONFIG_PM | 368 | #ifdef CONFIG_PM_SLEEP |
369 | /* register value containers for power management | 369 | /* register value containers for power management |
370 | * Note: not always full I/O range preserved (similar to Win driver!) */ | 370 | * Note: not always full I/O range preserved (similar to Win driver!) */ |
371 | u32 saved_regs_ctrl[AZF_ALIGN(AZF_IO_SIZE_CTRL_PM) / 4]; | 371 | u32 saved_regs_ctrl[AZF_ALIGN(AZF_IO_SIZE_CTRL_PM) / 4]; |
@@ -2729,7 +2729,7 @@ snd_azf3328_remove(struct pci_dev *pci) | |||
2729 | snd_azf3328_dbgcallleave(); | 2729 | snd_azf3328_dbgcallleave(); |
2730 | } | 2730 | } |
2731 | 2731 | ||
2732 | #ifdef CONFIG_PM | 2732 | #ifdef CONFIG_PM_SLEEP |
2733 | static inline void | 2733 | static inline void |
2734 | snd_azf3328_suspend_regs(unsigned long io_addr, unsigned count, u32 *saved_regs) | 2734 | snd_azf3328_suspend_regs(unsigned long io_addr, unsigned count, u32 *saved_regs) |
2735 | { | 2735 | { |
@@ -2866,7 +2866,7 @@ static SIMPLE_DEV_PM_OPS(snd_azf3328_pm, snd_azf3328_suspend, snd_azf3328_resume | |||
2866 | #define SND_AZF3328_PM_OPS &snd_azf3328_pm | 2866 | #define SND_AZF3328_PM_OPS &snd_azf3328_pm |
2867 | #else | 2867 | #else |
2868 | #define SND_AZF3328_PM_OPS NULL | 2868 | #define SND_AZF3328_PM_OPS NULL |
2869 | #endif /* CONFIG_PM */ | 2869 | #endif /* CONFIG_PM_SLEEP */ |
2870 | 2870 | ||
2871 | static struct pci_driver azf3328_driver = { | 2871 | static struct pci_driver azf3328_driver = { |
2872 | .name = KBUILD_MODNAME, | 2872 | .name = KBUILD_MODNAME, |