aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan <gnomes@lxorguk.ukuu.org.uk>2014-01-01 15:13:45 -0500
committerTejun Heo <tj@kernel.org>2014-01-01 15:14:40 -0500
commit55c82a6c2a513de1d8a20c3b3a769129a1a14d50 (patch)
tree58391d94c67fd2eea6d7f524ccbd4fa929846760
parente098f5cbe9d410e7878b50f524dce36cc83ec40e (diff)
sata_sis: missing PM support
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> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--drivers/ata/sata_sis.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/sata_sis.c b/drivers/ata/sata_sis.c
index fe3ca0989b14..1ad2f62d34b9 100644
--- a/drivers/ata/sata_sis.c
+++ b/drivers/ata/sata_sis.c
@@ -83,6 +83,10 @@ static struct pci_driver sis_pci_driver = {
83 .id_table = sis_pci_tbl, 83 .id_table = sis_pci_tbl,
84 .probe = sis_init_one, 84 .probe = sis_init_one,
85 .remove = ata_pci_remove_one, 85 .remove = ata_pci_remove_one,
86#ifdef CONFIG_PM
87 .suspend = ata_pci_device_suspend,
88 .resume = ata_pci_device_resume,
89#endif
86}; 90};
87 91
88static struct scsi_host_template sis_sht = { 92static struct scsi_host_template sis_sht = {