diff options
Diffstat (limited to 'drivers/ata/pata_optidma.c')
-rw-r--r-- | drivers/ata/pata_optidma.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/ata/pata_optidma.c b/drivers/ata/pata_optidma.c index 2f4770cce04e..d898e42f99e8 100644 --- a/drivers/ata/pata_optidma.c +++ b/drivers/ata/pata_optidma.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/libata.h> | 33 | #include <linux/libata.h> |
34 | 34 | ||
35 | #define DRV_NAME "pata_optidma" | 35 | #define DRV_NAME "pata_optidma" |
36 | #define DRV_VERSION "0.2.2" | 36 | #define DRV_VERSION "0.2.3" |
37 | 37 | ||
38 | enum { | 38 | enum { |
39 | READ_REG = 0, /* index of Read cycle timing register */ | 39 | READ_REG = 0, /* index of Read cycle timing register */ |
@@ -361,6 +361,8 @@ static struct scsi_host_template optidma_sht = { | |||
361 | .slave_configure = ata_scsi_slave_config, | 361 | .slave_configure = ata_scsi_slave_config, |
362 | .slave_destroy = ata_scsi_slave_destroy, | 362 | .slave_destroy = ata_scsi_slave_destroy, |
363 | .bios_param = ata_std_bios_param, | 363 | .bios_param = ata_std_bios_param, |
364 | .resume = ata_scsi_device_resume, | ||
365 | .suspend = ata_scsi_device_suspend, | ||
364 | }; | 366 | }; |
365 | 367 | ||
366 | static struct ata_port_operations optidma_port_ops = { | 368 | static struct ata_port_operations optidma_port_ops = { |
@@ -522,7 +524,9 @@ static struct pci_driver optidma_pci_driver = { | |||
522 | .name = DRV_NAME, | 524 | .name = DRV_NAME, |
523 | .id_table = optidma, | 525 | .id_table = optidma, |
524 | .probe = optidma_init_one, | 526 | .probe = optidma_init_one, |
525 | .remove = ata_pci_remove_one | 527 | .remove = ata_pci_remove_one, |
528 | .suspend = ata_pci_device_suspend, | ||
529 | .resume = ata_pci_device_resume, | ||
526 | }; | 530 | }; |
527 | 531 | ||
528 | static int __init optidma_init(void) | 532 | static int __init optidma_init(void) |