diff options
author | Tejun Heo <htejun@gmail.com> | 2007-03-02 03:30:01 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-03-02 18:27:34 -0500 |
commit | b23ff24436c97fb26428f3a337faf189292cc307 (patch) | |
tree | 07593926682b8edf04740239e9b00660dc243027 /drivers/ata/pata_sil680.c | |
parent | cc7c15ec167767b440c1de4dbd2200467b7a493b (diff) |
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.c | 4 |
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 = { | |||
236 | .slave_configure = ata_scsi_slave_config, | 236 | .slave_configure = ata_scsi_slave_config, |
237 | .slave_destroy = ata_scsi_slave_destroy, | 237 | .slave_destroy = ata_scsi_slave_destroy, |
238 | .bios_param = ata_std_bios_param, | 238 | .bios_param = ata_std_bios_param, |
239 | #ifdef CONFIG_PM | ||
240 | .suspend = ata_scsi_device_suspend, | ||
241 | .resume = ata_scsi_device_resume, | ||
242 | #endif | ||
239 | }; | 243 | }; |
240 | 244 | ||
241 | static struct ata_port_operations sil680_port_ops = { | 245 | static struct ata_port_operations sil680_port_ops = { |