Skip to contentSkip to conversation

pata_rdc: add Power Management support

PATCH New Bartlomiej Zolnierkiewicz 1 participant 1 message Oct 13, 2011 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pata_rdc: add Power Management support

From: Bartlomiej Zolnierkiewicz <[email protected]>
Subject: [PATCH] pata_rdc: add Power Management support

---
 drivers/ata/pata_rdc.c |    4 ++++
 1 file changed, 4 insertions(+)
drivers/ata/pata_rdc.c +4 -0
Index: b/drivers/ata/pata_rdc.c
===================================================================
@@ -357,6 +357,10 @@ static struct pci_driver rdc_pci_driver
 	.id_table		= rdc_pci_tbl,
 	.probe			= rdc_init_one,
 	.remove			= rdc_remove_one,
+#ifdef CONFIG_PM
+	.suspend		= ata_pci_device_suspend,
+	.resume			= ata_pci_device_resume,
+#endif
 };