diff options
-rw-r--r-- | drivers/ata/pata_jmicron.c | 4 | ||||
-rw-r--r-- | drivers/ata/pata_mpc52xx.c | 4 | ||||
-rw-r--r-- | drivers/ata/pata_sil680.c | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c index 47d0f94fd792..7ede3232e928 100644 --- a/drivers/ata/pata_jmicron.c +++ b/drivers/ata/pata_jmicron.c | |||
@@ -137,6 +137,10 @@ static struct scsi_host_template jmicron_sht = { | |||
137 | .slave_destroy = ata_scsi_slave_destroy, | 137 | .slave_destroy = ata_scsi_slave_destroy, |
138 | /* Use standard CHS mapping rules */ | 138 | /* Use standard CHS mapping rules */ |
139 | .bios_param = ata_std_bios_param, | 139 | .bios_param = ata_std_bios_param, |
140 | #ifdef CONFIG_PM | ||
141 | .suspend = ata_scsi_device_suspend, | ||
142 | .resume = ata_scsi_device_resume, | ||
143 | #endif | ||
140 | }; | 144 | }; |
141 | 145 | ||
142 | static const struct ata_port_operations jmicron_ops = { | 146 | static const struct ata_port_operations jmicron_ops = { |
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c index 29e1809e5ecf..f5d88729ca79 100644 --- a/drivers/ata/pata_mpc52xx.c +++ b/drivers/ata/pata_mpc52xx.c | |||
@@ -280,6 +280,10 @@ static struct scsi_host_template mpc52xx_ata_sht = { | |||
280 | .dma_boundary = ATA_DMA_BOUNDARY, | 280 | .dma_boundary = ATA_DMA_BOUNDARY, |
281 | .slave_configure = ata_scsi_slave_config, | 281 | .slave_configure = ata_scsi_slave_config, |
282 | .bios_param = ata_std_bios_param, | 282 | .bios_param = ata_std_bios_param, |
283 | #ifdef CONFIG_PM | ||
284 | .suspend = ata_scsi_device_suspend, | ||
285 | .resume = ata_scsi_device_resume, | ||
286 | #endif | ||
283 | }; | 287 | }; |
284 | 288 | ||
285 | static struct ata_port_operations mpc52xx_ata_port_ops = { | 289 | static struct ata_port_operations mpc52xx_ata_port_ops = { |
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 = { |