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_cs5535.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_cs5535.c')
-rw-r--r-- | drivers/ata/pata_cs5535.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ata/pata_cs5535.c b/drivers/ata/pata_cs5535.c index 8dafa4a49fdc..38c00f628761 100644 --- a/drivers/ata/pata_cs5535.c +++ b/drivers/ata/pata_cs5535.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <asm/msr.h> | 39 | #include <asm/msr.h> |
40 | 40 | ||
41 | #define DRV_NAME "cs5535" | 41 | #define DRV_NAME "cs5535" |
42 | #define DRV_VERSION "0.2.10" | 42 | #define DRV_VERSION "0.2.11" |
43 | 43 | ||
44 | /* | 44 | /* |
45 | * The Geode (Aka Athlon GX now) uses an internal MSR based | 45 | * The Geode (Aka Athlon GX now) uses an internal MSR based |
@@ -186,6 +186,8 @@ static struct scsi_host_template cs5535_sht = { | |||
186 | .slave_configure = ata_scsi_slave_config, | 186 | .slave_configure = ata_scsi_slave_config, |
187 | .slave_destroy = ata_scsi_slave_destroy, | 187 | .slave_destroy = ata_scsi_slave_destroy, |
188 | .bios_param = ata_std_bios_param, | 188 | .bios_param = ata_std_bios_param, |
189 | .resume = ata_scsi_device_resume, | ||
190 | .suspend = ata_scsi_device_suspend, | ||
189 | }; | 191 | }; |
190 | 192 | ||
191 | static struct ata_port_operations cs5535_port_ops = { | 193 | static struct ata_port_operations cs5535_port_ops = { |
@@ -269,6 +271,8 @@ static struct pci_driver cs5535_pci_driver = { | |||
269 | .id_table = cs5535, | 271 | .id_table = cs5535, |
270 | .probe = cs5535_init_one, | 272 | .probe = cs5535_init_one, |
271 | .remove = ata_pci_remove_one | 273 | .remove = ata_pci_remove_one |
274 | .suspend = ata_pci_device_suspend, | ||
275 | .resume = ata_pci_device_resume, | ||
272 | }; | 276 | }; |
273 | 277 | ||
274 | static int __init cs5535_init(void) | 278 | static int __init cs5535_init(void) |