diff options
Diffstat (limited to 'drivers/ata/pata_legacy.c')
-rw-r--r-- | drivers/ata/pata_legacy.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c index 6ac02f7d5289..5329b954c5f2 100644 --- a/drivers/ata/pata_legacy.c +++ b/drivers/ata/pata_legacy.c | |||
@@ -208,21 +208,7 @@ static int legacy_set_mode(struct ata_link *link, struct ata_device **unused) | |||
208 | } | 208 | } |
209 | 209 | ||
210 | static struct scsi_host_template legacy_sht = { | 210 | static struct scsi_host_template legacy_sht = { |
211 | .module = THIS_MODULE, | 211 | ATA_PIO_SHT(DRV_NAME), |
212 | .name = DRV_NAME, | ||
213 | .ioctl = ata_scsi_ioctl, | ||
214 | .queuecommand = ata_scsi_queuecmd, | ||
215 | .can_queue = ATA_DEF_QUEUE, | ||
216 | .this_id = ATA_SHT_THIS_ID, | ||
217 | .sg_tablesize = LIBATA_MAX_PRD, | ||
218 | .cmd_per_lun = ATA_SHT_CMD_PER_LUN, | ||
219 | .emulated = ATA_SHT_EMULATED, | ||
220 | .use_clustering = ATA_SHT_USE_CLUSTERING, | ||
221 | .proc_name = DRV_NAME, | ||
222 | .dma_boundary = ATA_DMA_BOUNDARY, | ||
223 | .slave_configure = ata_scsi_slave_config, | ||
224 | .slave_destroy = ata_scsi_slave_destroy, | ||
225 | .bios_param = ata_std_bios_param, | ||
226 | }; | 212 | }; |
227 | 213 | ||
228 | /* | 214 | /* |