aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_sch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_sch.c')
-rw-r--r--drivers/ata/pata_sch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_sch.c b/drivers/ata/pata_sch.c
index 5a1cde0ea360..b920c3407f8b 100644
--- a/drivers/ata/pata_sch.c
+++ b/drivers/ata/pata_sch.c
@@ -64,7 +64,7 @@ static struct pci_driver sch_pci_driver = {
.id_table = sch_pci_tbl,
.probe = sch_init_one,
.remove = ata_pci_remove_one,
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
.suspend = ata_pci_device_suspend,
.resume = ata_pci_device_resume,
#endif