Skip to content

Commit

Permalink
sata_sis: missing PM support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan authored and Tejun Heo committed Jan 1, 2014
1 parent e098f5c commit 55c82a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/ata/sata_sis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 55c82a6

Please sign in to comment.