diff options
author | Tejun Heo <htejun@gmail.com> | 2006-11-28 22:10:46 -0500 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-12-03 03:56:22 -0500 |
commit | c972b60bf167a3d2c3da23df2af1eac93229e7cc (patch) | |
tree | ed41d301755d34313f40521a16cfa53bbc8c5609 /drivers | |
parent | 664e8503fee2f299d0f96eaab0f5f8fae8fad325 (diff) |
[PATCH] libata: add missing sht->slave_destroy
Add missing sht->slave_destroy. Most drivers received this fix in
didn't. Fix those four drives.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/pata_ixp4xx_cf.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_marvell.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_platform.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_winbond.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c index d2268bfe6f55..14c6a2daf52e 100644 --- a/drivers/ata/pata_ixp4xx_cf.c +++ b/drivers/ata/pata_ixp4xx_cf.c | |||
@@ -117,6 +117,7 @@ static struct scsi_host_template ixp4xx_sht = { | |||
117 | .proc_name = DRV_NAME, | 117 | .proc_name = DRV_NAME, |
118 | .dma_boundary = ATA_DMA_BOUNDARY, | 118 | .dma_boundary = ATA_DMA_BOUNDARY, |
119 | .slave_configure = ata_scsi_slave_config, | 119 | .slave_configure = ata_scsi_slave_config, |
120 | .slave_destroy = ata_scsi_slave_destroy, | ||
120 | .bios_param = ata_std_bios_param, | 121 | .bios_param = ata_std_bios_param, |
121 | }; | 122 | }; |
122 | 123 | ||
diff --git a/drivers/ata/pata_marvell.c b/drivers/ata/pata_marvell.c index 25f7a79a8e25..3f53be4607a0 100644 --- a/drivers/ata/pata_marvell.c +++ b/drivers/ata/pata_marvell.c | |||
@@ -101,6 +101,7 @@ static struct scsi_host_template marvell_sht = { | |||
101 | .proc_name = DRV_NAME, | 101 | .proc_name = DRV_NAME, |
102 | .dma_boundary = ATA_DMA_BOUNDARY, | 102 | .dma_boundary = ATA_DMA_BOUNDARY, |
103 | .slave_configure = ata_scsi_slave_config, | 103 | .slave_configure = ata_scsi_slave_config, |
104 | .slave_destroy = ata_scsi_slave_destroy, | ||
104 | /* Use standard CHS mapping rules */ | 105 | /* Use standard CHS mapping rules */ |
105 | .bios_param = ata_std_bios_param, | 106 | .bios_param = ata_std_bios_param, |
106 | .resume = ata_scsi_device_resume, | 107 | .resume = ata_scsi_device_resume, |
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c index 63d6687f0ba9..5ff74e4ce590 100644 --- a/drivers/ata/pata_platform.c +++ b/drivers/ata/pata_platform.c | |||
@@ -78,6 +78,7 @@ static struct scsi_host_template pata_platform_sht = { | |||
78 | .proc_name = DRV_NAME, | 78 | .proc_name = DRV_NAME, |
79 | .dma_boundary = ATA_DMA_BOUNDARY, | 79 | .dma_boundary = ATA_DMA_BOUNDARY, |
80 | .slave_configure = ata_scsi_slave_config, | 80 | .slave_configure = ata_scsi_slave_config, |
81 | .slave_destroy = ata_scsi_slave_destroy, | ||
81 | .bios_param = ata_std_bios_param, | 82 | .bios_param = ata_std_bios_param, |
82 | }; | 83 | }; |
83 | 84 | ||
diff --git a/drivers/ata/pata_winbond.c b/drivers/ata/pata_winbond.c index 48941d0757e9..b02ad1d3afed 100644 --- a/drivers/ata/pata_winbond.c +++ b/drivers/ata/pata_winbond.c | |||
@@ -133,6 +133,7 @@ static struct scsi_host_template winbond_sht = { | |||
133 | .proc_name = DRV_NAME, | 133 | .proc_name = DRV_NAME, |
134 | .dma_boundary = ATA_DMA_BOUNDARY, | 134 | .dma_boundary = ATA_DMA_BOUNDARY, |
135 | .slave_configure = ata_scsi_slave_config, | 135 | .slave_configure = ata_scsi_slave_config, |
136 | .slave_destroy = ata_scsi_slave_destroy, | ||
136 | .bios_param = ata_std_bios_param, | 137 | .bios_param = ata_std_bios_param, |
137 | }; | 138 | }; |
138 | 139 | ||