From 5a2985486745b62c644462fbbafc6cbaac748065 Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Thu, 13 Oct 2011 16:06:31 +0200 Subject: [PATCH] pata_rdc: add Power Management support Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Jeff Garzik --- drivers/ata/pata_rdc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/ata/pata_rdc.c b/drivers/ata/pata_rdc.c index f52831f904cf..e6a2dd7809c1 100644 --- a/drivers/ata/pata_rdc.c +++ b/drivers/ata/pata_rdc.c @@ -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 };