Skip to content

Commit

Permalink
[PATCH] libata: add missing sht->slave_destroy
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tejun Heo committed Dec 3, 2006
1 parent 664e850 commit c972b60
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ata/pata_ixp4xx_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ static struct scsi_host_template ixp4xx_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,
};

Expand Down
1 change: 1 addition & 0 deletions drivers/ata/pata_marvell.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ static struct scsi_host_template marvell_sht = {
.proc_name = DRV_NAME,
.dma_boundary = ATA_DMA_BOUNDARY,
.slave_configure = ata_scsi_slave_config,
.slave_destroy = ata_scsi_slave_destroy,
/* Use standard CHS mapping rules */
.bios_param = ata_std_bios_param,
.resume = ata_scsi_device_resume,
Expand Down
1 change: 1 addition & 0 deletions drivers/ata/pata_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
1 change: 1 addition & 0 deletions drivers/ata/pata_winbond.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ static struct scsi_host_template winbond_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,
};

Expand Down

0 comments on commit c972b60

Please sign in to comment.