Skip to contentSkip to conversation

sata_sis: missing PM support

PATCH Applied Alan 2 participants 2 messages Jan 1, 2014 libata

lore
Share & tools
lore

Alan

author
#0 lore raw

PATCH 1/1 sata_sis: missing PM support

sata_sis has no suspend/resume methods. The default ones will do fine and are needed on some systems.

---
 drivers/ata/sata_sis.c |    4 ++++
 1 file changed, 4 insertions(+)
drivers/ata/sata_sis.c +4 -0
index fe3ca09..1ad2f62 100644
@@ -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 = {