* [PATCH] sata_sis: missing PM support
@ 2014-01-01 21:39 Alan
2014-01-01 21:40 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Alan @ 2014-01-01 21:39 UTC (permalink / raw)
To: tj, linux-ide
sata_sis has no suspend/resume methods. The default ones will do fine and
are needed on some systems.
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
drivers/ata/sata_sis.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/ata/sata_sis.c b/drivers/ata/sata_sis.c
index fe3ca09..1ad2f62 100644
--- a/drivers/ata/sata_sis.c
+++ b/drivers/ata/sata_sis.c
@@ -83,6 +83,10 @@ static struct pci_driver sis_pci_driver = {
.id_table = sis_pci_tbl,
.probe = sis_init_one,
.remove = ata_pci_remove_one,
+#ifdef CONFIG_PM
+ .suspend = ata_pci_device_suspend,
+ .resume = ata_pci_device_resume,
+#endif
};
static struct scsi_host_template sis_sht = {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-01 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-01 21:39 [PATCH] sata_sis: missing PM support Alan
2014-01-01 21:40 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox