diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2006-11-27 16:27:20 +0000 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-01 22:47:01 -0500 |
commit | 62d64ae0ec76360736c9dc4ca2067ae8de0ba9f2 (patch) | |
tree | f03f46676e8ce486f9b50417cb1892ae5229264f /drivers/ata/pata_pdc202xx_old.c | |
parent | aa54ab1eff30f1e5859acf4e15f0730288373ee5 (diff) | |
download | linux-62d64ae0ec76360736c9dc4ca2067ae8de0ba9f2.tar.bz2 |
[PATCH] pata : more drivers that need only standard suspend and resume
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_pdc202xx_old.c')
-rw-r--r-- | drivers/ata/pata_pdc202xx_old.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c index ed8d98557f16..81a134cca3cd 100644 --- a/drivers/ata/pata_pdc202xx_old.c +++ b/drivers/ata/pata_pdc202xx_old.c @@ -21,7 +21,7 @@ #include <linux/libata.h> #define DRV_NAME "pata_pdc202xx_old" -#define DRV_VERSION "0.2.2" +#define DRV_VERSION "0.2.3" /** * pdc2024x_pre_reset - probe begin @@ -271,6 +271,8 @@ static struct scsi_host_template pdc202xx_sht = { .slave_configure = ata_scsi_slave_config, .slave_destroy = ata_scsi_slave_destroy, .bios_param = ata_std_bios_param, + .resume = ata_scsi_device_resume, + .suspend = ata_scsi_device_suspend, }; static struct ata_port_operations pdc2024x_port_ops = { @@ -400,7 +402,9 @@ static struct pci_driver pdc202xx_pci_driver = { .name = DRV_NAME, .id_table = pdc202xx, .probe = pdc202xx_init_one, - .remove = ata_pci_remove_one + .remove = ata_pci_remove_one, + .suspend = ata_pci_device_suspend, + .resume = ata_pci_device_resume, }; static int __init pdc202xx_init(void) |