projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e098f5c
)
sata_sis: missing PM support
author
Alan
<gnomes@lxorguk.ukuu.org.uk>
Wed, 1 Jan 2014 20:13:45 +0000
(20:13 +0000)
committer
Tejun Heo
<tj@kernel.org>
Wed, 1 Jan 2014 20:14:40 +0000
(15:14 -0500)
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>
drivers/ata/sata_sis.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_sis.c
b/drivers/ata/sata_sis.c
index
fe3ca09
..
1ad2f62
100644
(file)
--- 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 = {