diff options
Diffstat (limited to 'drivers/ata/sata_via.c')
-rw-r--r-- | drivers/ata/sata_via.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index 305ab7c68ca5..939c9246fdd1 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c | |||
@@ -93,6 +93,10 @@ static struct pci_driver svia_pci_driver = { | |||
93 | .name = DRV_NAME, | 93 | .name = DRV_NAME, |
94 | .id_table = svia_pci_tbl, | 94 | .id_table = svia_pci_tbl, |
95 | .probe = svia_init_one, | 95 | .probe = svia_init_one, |
96 | #ifdef CONFIG_PM | ||
97 | .suspend = ata_pci_device_suspend, | ||
98 | .resume = ata_pci_device_resume, | ||
99 | #endif | ||
96 | .remove = ata_pci_remove_one, | 100 | .remove = ata_pci_remove_one, |
97 | }; | 101 | }; |
98 | 102 | ||
@@ -112,6 +116,10 @@ static struct scsi_host_template svia_sht = { | |||
112 | .slave_configure = ata_scsi_slave_config, | 116 | .slave_configure = ata_scsi_slave_config, |
113 | .slave_destroy = ata_scsi_slave_destroy, | 117 | .slave_destroy = ata_scsi_slave_destroy, |
114 | .bios_param = ata_std_bios_param, | 118 | .bios_param = ata_std_bios_param, |
119 | #ifdef CONFIG_PM | ||
120 | .suspend = ata_scsi_device_suspend, | ||
121 | .resume = ata_scsi_device_resume, | ||
122 | #endif | ||
115 | }; | 123 | }; |
116 | 124 | ||
117 | static const struct ata_port_operations vt6420_sata_ops = { | 125 | static const struct ata_port_operations vt6420_sata_ops = { |