diff options
Diffstat (limited to 'sound/pci/emu10k1/emu10k1.c')
-rw-r--r-- | sound/pci/emu10k1/emu10k1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/emu10k1/emu10k1.c b/sound/pci/emu10k1/emu10k1.c index ddac4e6d660d..b7c1875ba90e 100644 --- a/sound/pci/emu10k1/emu10k1.c +++ b/sound/pci/emu10k1/emu10k1.c | |||
@@ -206,7 +206,7 @@ static void __devexit snd_card_emu10k1_remove(struct pci_dev *pci) | |||
206 | } | 206 | } |
207 | 207 | ||
208 | 208 | ||
209 | #ifdef CONFIG_PM | 209 | #ifdef CONFIG_PM_SLEEP |
210 | static int snd_emu10k1_suspend(struct device *dev) | 210 | static int snd_emu10k1_suspend(struct device *dev) |
211 | { | 211 | { |
212 | struct pci_dev *pci = to_pci_dev(dev); | 212 | struct pci_dev *pci = to_pci_dev(dev); |
@@ -268,7 +268,7 @@ static SIMPLE_DEV_PM_OPS(snd_emu10k1_pm, snd_emu10k1_suspend, snd_emu10k1_resume | |||
268 | #define SND_EMU10K1_PM_OPS &snd_emu10k1_pm | 268 | #define SND_EMU10K1_PM_OPS &snd_emu10k1_pm |
269 | #else | 269 | #else |
270 | #define SND_EMU10K1_PM_OPS NULL | 270 | #define SND_EMU10K1_PM_OPS NULL |
271 | #endif /* CONFIG_PM */ | 271 | #endif /* CONFIG_PM_SLEEP */ |
272 | 272 | ||
273 | static struct pci_driver emu10k1_driver = { | 273 | static struct pci_driver emu10k1_driver = { |
274 | .name = KBUILD_MODNAME, | 274 | .name = KBUILD_MODNAME, |