diff options
author | Alan <gnomes@lxorguk.ukuu.org.uk> | 2014-01-01 21:13:45 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-01-01 21:14:40 +0100 |
commit | 55c82a6c2a513de1d8a20c3b3a769129a1a14d50 (patch) | |
tree | 58391d94c67fd2eea6d7f524ccbd4fa929846760 /drivers/ata | |
parent | ahci: add PCI ID for Marvell 88SE9170 SATA controller (diff) | |
download | linux-55c82a6c2a513de1d8a20c3b3a769129a1a14d50.tar.xz linux-55c82a6c2a513de1d8a20c3b3a769129a1a14d50.zip |
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/sata_sis.c | 4 |
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 = { .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 = { |