diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2006-11-22 11:57:36 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-01 22:46:49 -0500 |
commit | 30ced0f0d211999f316930eff7287aa5a9995bef (patch) | |
tree | f00359c2aa4dda61d7d31f58a72fee78ef059a14 /drivers/ata/pata_oldpiix.c | |
parent | 8550c1637ba7dd96a76353eb52d31088f9c2f5fe (diff) |
[PATCH] PATA libata: suspend/resume simple cases
This patch adds the suspend/resume callbacks for drivers which don't need
any additional help (beyond the pci resume quirk patch I posted earlier
anyway). Also bring version numbers back inline with master copies.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_oldpiix.c')
-rw-r--r-- | drivers/ata/pata_oldpiix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c index 8837256632e9..1283fb71bd5d 100644 --- a/drivers/ata/pata_oldpiix.c +++ b/drivers/ata/pata_oldpiix.c | |||
@@ -233,6 +233,8 @@ static struct scsi_host_template oldpiix_sht = { | |||
233 | .slave_configure = ata_scsi_slave_config, | 233 | .slave_configure = ata_scsi_slave_config, |
234 | .slave_destroy = ata_scsi_slave_destroy, | 234 | .slave_destroy = ata_scsi_slave_destroy, |
235 | .bios_param = ata_std_bios_param, | 235 | .bios_param = ata_std_bios_param, |
236 | .resume = ata_scsi_device_resume, | ||
237 | .suspend = ata_scsi_device_suspend, | ||
236 | }; | 238 | }; |
237 | 239 | ||
238 | static const struct ata_port_operations oldpiix_pata_ops = { | 240 | static const struct ata_port_operations oldpiix_pata_ops = { |
@@ -314,6 +316,8 @@ static struct pci_driver oldpiix_pci_driver = { | |||
314 | .id_table = oldpiix_pci_tbl, | 316 | .id_table = oldpiix_pci_tbl, |
315 | .probe = oldpiix_init_one, | 317 | .probe = oldpiix_init_one, |
316 | .remove = ata_pci_remove_one, | 318 | .remove = ata_pci_remove_one, |
319 | .suspend = ata_pci_device_suspend, | ||
320 | .resume = ata_pci_device_resume, | ||
317 | }; | 321 | }; |
318 | 322 | ||
319 | static int __init oldpiix_init(void) | 323 | static int __init oldpiix_init(void) |