Commit c972b60b authored by Tejun Heo's avatar Tejun Heo

[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: default avatarTejun Heo <htejun@gmail.com>
parent 664e8503
...@@ -117,6 +117,7 @@ static struct scsi_host_template ixp4xx_sht = { ...@@ -117,6 +117,7 @@ static struct scsi_host_template ixp4xx_sht = {
.proc_name = DRV_NAME, .proc_name = DRV_NAME,
.dma_boundary = ATA_DMA_BOUNDARY, .dma_boundary = ATA_DMA_BOUNDARY,
.slave_configure = ata_scsi_slave_config, .slave_configure = ata_scsi_slave_config,
.slave_destroy = ata_scsi_slave_destroy,
.bios_param = ata_std_bios_param, .bios_param = ata_std_bios_param,
}; };
......
...@@ -101,6 +101,7 @@ static struct scsi_host_template marvell_sht = { ...@@ -101,6 +101,7 @@ static struct scsi_host_template marvell_sht = {
.proc_name = DRV_NAME, .proc_name = DRV_NAME,
.dma_boundary = ATA_DMA_BOUNDARY, .dma_boundary = ATA_DMA_BOUNDARY,
.slave_configure = ata_scsi_slave_config, .slave_configure = ata_scsi_slave_config,
.slave_destroy = ata_scsi_slave_destroy,
/* Use standard CHS mapping rules */ /* Use standard CHS mapping rules */
.bios_param = ata_std_bios_param, .bios_param = ata_std_bios_param,
.resume = ata_scsi_device_resume, .resume = ata_scsi_device_resume,
......
...@@ -78,6 +78,7 @@ static struct scsi_host_template pata_platform_sht = { ...@@ -78,6 +78,7 @@ static struct scsi_host_template pata_platform_sht = {
.proc_name = DRV_NAME, .proc_name = DRV_NAME,
.dma_boundary = ATA_DMA_BOUNDARY, .dma_boundary = ATA_DMA_BOUNDARY,
.slave_configure = ata_scsi_slave_config, .slave_configure = ata_scsi_slave_config,
.slave_destroy = ata_scsi_slave_destroy,
.bios_param = ata_std_bios_param, .bios_param = ata_std_bios_param,
}; };
......
...@@ -133,6 +133,7 @@ static struct scsi_host_template winbond_sht = { ...@@ -133,6 +133,7 @@ static struct scsi_host_template winbond_sht = {
.proc_name = DRV_NAME, .proc_name = DRV_NAME,
.dma_boundary = ATA_DMA_BOUNDARY, .dma_boundary = ATA_DMA_BOUNDARY,
.slave_configure = ata_scsi_slave_config, .slave_configure = ata_scsi_slave_config,
.slave_destroy = ata_scsi_slave_destroy,
.bios_param = ata_std_bios_param, .bios_param = ata_std_bios_param,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment