summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_sil680.c
diff options
context:
space:
mode:
authorTejun Heo2007-03-02 09:30:01 +0100
committerJeff Garzik2007-03-03 00:27:34 +0100
commitb23ff24436c97fb26428f3a337faf189292cc307 (patch)
tree07593926682b8edf04740239e9b00660dc243027 /drivers/ata/pata_sil680.c
parentpata_qdi: Fix initialisation (diff)
downloadkernel-qcow2-linux-b23ff24436c97fb26428f3a337faf189292cc307.tar.gz
kernel-qcow2-linux-b23ff24436c97fb26428f3a337faf189292cc307.tar.xz
kernel-qcow2-linux-b23ff24436c97fb26428f3a337faf189292cc307.zip
libata: add missing PM callbacks
Some LLDs were missing scsi device PM callbacks while having host/port suspend support. Add missing ones. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_sil680.c')
-rw-r--r--drivers/ata/pata_sil680.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c
index 1cb67b221c28..48eb5e538996 100644
--- a/drivers/ata/pata_sil680.c
+++ b/drivers/ata/pata_sil680.c
@@ -236,6 +236,10 @@ static struct scsi_host_template sil680_sht = {
.slave_configure = ata_scsi_slave_config,
.slave_destroy = ata_scsi_slave_destroy,
.bios_param = ata_std_bios_param,
+#ifdef CONFIG_PM
+ .suspend = ata_scsi_device_suspend,
+ .resume = ata_scsi_device_resume,
+#endif
};
static struct ata_port_operations sil680_port_ops = {