projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a94a74
)
pata_rdc: add Power Management support
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Thu, 13 Oct 2011 14:06:31 +0000
(16:06 +0200)
committer
Jeff Garzik
<jgarzik@redhat.com>
Fri, 14 Oct 2011 17:38:36 +0000
(13:38 -0400)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_rdc.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_rdc.c
b/drivers/ata/pata_rdc.c
index
f52831f
..
e6a2dd7
100644
(file)
--- 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
};