summaryrefslogtreecommitdiff
path: root/sound/pci/oxygen/se6x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/oxygen/se6x.c')
-rw-r--r--sound/pci/oxygen/se6x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/oxygen/se6x.c b/sound/pci/oxygen/se6x.c
index 17650a5b1bfa..9d009015d97e 100644
--- a/sound/pci/oxygen/se6x.c
+++ b/sound/pci/oxygen/se6x.c
@@ -137,11 +137,9 @@ static struct pci_driver se6x_driver = {
.name = KBUILD_MODNAME,
.id_table = se6x_ids,
.probe = se6x_probe,
-#ifdef CONFIG_PM_SLEEP
.driver = {
- .pm = &oxygen_pci_pm,
+ .pm = pm_sleep_ptr(&oxygen_pci_pm),
},
-#endif
.shutdown = oxygen_pci_shutdown,
};