pata_rdc: add Power Management support
Bartlomiej Zolnierkiewicz [Thu, 13 Oct 2011 14:06:31 +0000 (16:06 +0200)]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

drivers/ata/pata_rdc.c

index f52831f..e6a2dd7 100644 (file)
@@ -387,6 +387,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
 };