projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/ata/pata_rdc.c
b/drivers/ata/pata_rdc.c
index f52831f904cf20f51c02ca24c5355de9f8602daf..e6a2dd7809c14924bf67058e6086f946a20b6900 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
};