aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/sis7019.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/sis7019.c')
-rw-r--r--sound/pci/sis7019.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/sis7019.c b/sound/pci/sis7019.c
index 512434efcc31..535efe295075 100644
--- a/sound/pci/sis7019.c
+++ b/sound/pci/sis7019.c
@@ -103,7 +103,7 @@ struct voice {
103 * we're not doing power management, we still need to allocate a page 103 * we're not doing power management, we still need to allocate a page
104 * for the silence buffer. 104 * for the silence buffer.
105 */ 105 */
106#ifdef CONFIG_PM 106#ifdef CONFIG_PM_SLEEP
107#define SIS_SUSPEND_PAGES 4 107#define SIS_SUSPEND_PAGES 4
108#else 108#else
109#define SIS_SUSPEND_PAGES 1 109#define SIS_SUSPEND_PAGES 1
@@ -1208,7 +1208,7 @@ static int sis_chip_init(struct sis7019 *sis)
1208 return 0; 1208 return 0;
1209} 1209}
1210 1210
1211#ifdef CONFIG_PM 1211#ifdef CONFIG_PM_SLEEP
1212static int sis_suspend(struct device *dev) 1212static int sis_suspend(struct device *dev)
1213{ 1213{
1214 struct pci_dev *pci = to_pci_dev(dev); 1214 struct pci_dev *pci = to_pci_dev(dev);
@@ -1305,7 +1305,7 @@ static SIMPLE_DEV_PM_OPS(sis_pm, sis_suspend, sis_resume);
1305#define SIS_PM_OPS &sis_pm 1305#define SIS_PM_OPS &sis_pm
1306#else 1306#else
1307#define SIS_PM_OPS NULL 1307#define SIS_PM_OPS NULL
1308#endif /* CONFIG_PM */ 1308#endif /* CONFIG_PM_SLEEP */
1309 1309
1310static int sis_alloc_suspend(struct sis7019 *sis) 1310static int sis_alloc_suspend(struct sis7019 *sis)
1311{ 1311{