summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_platform.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-11-29 04:10:46 +0100
committerTejun Heo <htejun@gmail.com>2006-12-03 09:56:22 +0100
commitc972b60bf167a3d2c3da23df2af1eac93229e7cc (patch)
treeed41d301755d34313f40521a16cfa53bbc8c5609 /drivers/ata/pata_platform.c
parent[PATCH] libata: print cdb[0] in failed qc report (diff)
downloadlinux-c972b60bf167a3d2c3da23df2af1eac93229e7cc.tar.xz
linux-c972b60bf167a3d2c3da23df2af1eac93229e7cc.zip
[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/ata/pata_platform.c')
-rw-r--r--drivers/ata/pata_platform.c1
1 files changed, 1 insertions, 0 deletions
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 = {
.proc_name = DRV_NAME,
.dma_boundary = ATA_DMA_BOUNDARY,
.slave_configure = ata_scsi_slave_config,
+ .slave_destroy = ata_scsi_slave_destroy,
.bios_param = ata_std_bios_param,
};