diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2011-10-13 14:06:31 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-10-14 17:38:36 (GMT) |
commit | 5a2985486745b62c644462fbbafc6cbaac748065 (patch) | |
tree | 8b61c1a0e855f10a42ca3a7eb08a69292c4be8ac /drivers/ata/pata_rdc.c | |
parent | 6a94a746fb2572c03c664acece101ee03dae7a17 (diff) | |
download | linux-5a2985486745b62c644462fbbafc6cbaac748065.tar.xz |
pata_rdc: add Power Management support
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_rdc.c')
-rw-r--r-- | drivers/ata/pata_rdc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/pata_rdc.c b/drivers/ata/pata_rdc.c index f52831f..e6a2dd7 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 }; |