···17881788 unsigned int efx_voices_mask[2];17891789 unsigned int next_free_voice;1790179017911791-#ifdef CONFIG_PM17911791+#ifdef CONFIG_PM_SLEEP17921792 unsigned int *saved_ptr;17931793 unsigned int *saved_gpr;17941794 unsigned int *tram_val_saved;···18561856void snd_emu10k1_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short data);18571857unsigned int snd_emu10k1_rate_to_pitch(unsigned int rate);1858185818591859-#ifdef CONFIG_PM18591859+#ifdef CONFIG_PM_SLEEP18601860void snd_emu10k1_suspend_regs(struct snd_emu10k1 *emu);18611861void snd_emu10k1_resume_init(struct snd_emu10k1 *emu);18621862void snd_emu10k1_resume_regs(struct snd_emu10k1 *emu);
···464464465465 unsigned long received_irqs;466466 unsigned long handled_irqs;467467-#ifdef CONFIG_PM467467+#ifdef CONFIG_PM_SLEEP468468 int in_suspend;469469#endif470470};···11501150 }11511151}1152115211531153-#ifdef CONFIG_PM11531153+#ifdef CONFIG_PM_SLEEP11541154static int riptide_suspend(struct device *dev)11551155{11561156 struct pci_dev *pci = to_pci_dev(dev);···11931193#define RIPTIDE_PM_OPS &riptide_pm11941194#else11951195#define RIPTIDE_PM_OPS NULL11961196-#endif /* CONFIG_PM */11961196+#endif /* CONFIG_PM_SLEEP */1197119711981198static int try_to_load_firmware(struct cmdif *cif, struct snd_riptide *chip)11991199{
+3-3
sound/pci/sis7019.c
···103103 * we're not doing power management, we still need to allocate a page104104 * for the silence buffer.105105 */106106-#ifdef CONFIG_PM106106+#ifdef CONFIG_PM_SLEEP107107#define SIS_SUSPEND_PAGES 4108108#else109109#define SIS_SUSPEND_PAGES 1···12081208 return 0;12091209}1210121012111211-#ifdef CONFIG_PM12111211+#ifdef CONFIG_PM_SLEEP12121212static int sis_suspend(struct device *dev)12131213{12141214 struct pci_dev *pci = to_pci_dev(dev);···13051305#define SIS_PM_OPS &sis_pm13061306#else13071307#define SIS_PM_OPS NULL13081308-#endif /* CONFIG_PM */13081308+#endif /* CONFIG_PM_SLEEP */1309130913101310static int sis_alloc_suspend(struct sis7019 *sis)13111311{