summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_rdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_rdc.c')
-rw-r--r--drivers/ata/pata_rdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_rdc.c b/drivers/ata/pata_rdc.c
index 521b2137ea3e..9ce5952216bc 100644
--- a/drivers/ata/pata_rdc.c
+++ b/drivers/ata/pata_rdc.c
@@ -382,7 +382,7 @@ static struct pci_driver rdc_pci_driver = {
.id_table = rdc_pci_tbl,
.probe = rdc_init_one,
.remove = rdc_remove_one,
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
.suspend = ata_pci_device_suspend,
.resume = ata_pci_device_resume,
#endif