summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_jmicron.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-03-02 17:30:01 +0900
committerJeff Garzik <jeff@garzik.org>2007-03-02 18:27:34 -0500
commitb23ff24436c97fb26428f3a337faf189292cc307 (patch)
tree07593926682b8edf04740239e9b00660dc243027 /drivers/ata/pata_jmicron.c
parentcc7c15ec167767b440c1de4dbd2200467b7a493b (diff)
downloadop-kernel-dev-b23ff24436c97fb26428f3a337faf189292cc307.zip
op-kernel-dev-b23ff24436c97fb26428f3a337faf189292cc307.tar.gz
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_jmicron.c')
-rw-r--r--drivers/ata/pata_jmicron.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c
index 47d0f94..7ede323 100644
--- a/drivers/ata/pata_jmicron.c
+++ b/drivers/ata/pata_jmicron.c
@@ -137,6 +137,10 @@ static struct scsi_host_template jmicron_sht = {
.slave_destroy = ata_scsi_slave_destroy,
/* Use standard CHS mapping rules */
.bios_param = ata_std_bios_param,
+#ifdef CONFIG_PM
+ .suspend = ata_scsi_device_suspend,
+ .resume = ata_scsi_device_resume,
+#endif
};
static const struct ata_port_operations jmicron_ops = {
OpenPOWER on IntegriCloud