diff options
Diffstat (limited to 'drivers/ata/pata_cs5535.c')
-rw-r--r-- | drivers/ata/pata_cs5535.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/ata/pata_cs5535.c b/drivers/ata/pata_cs5535.c index 01324530d052..48a18349c1d8 100644 --- a/drivers/ata/pata_cs5535.c +++ b/drivers/ata/pata_cs5535.c | |||
@@ -158,21 +158,7 @@ static void cs5535_set_dmamode(struct ata_port *ap, struct ata_device *adev) | |||
158 | } | 158 | } |
159 | 159 | ||
160 | static struct scsi_host_template cs5535_sht = { | 160 | static struct scsi_host_template cs5535_sht = { |
161 | .module = THIS_MODULE, | 161 | ATA_BMDMA_SHT(DRV_NAME), |
162 | .name = DRV_NAME, | ||
163 | .ioctl = ata_scsi_ioctl, | ||
164 | .queuecommand = ata_scsi_queuecmd, | ||
165 | .can_queue = ATA_DEF_QUEUE, | ||
166 | .this_id = ATA_SHT_THIS_ID, | ||
167 | .sg_tablesize = LIBATA_MAX_PRD, | ||
168 | .cmd_per_lun = ATA_SHT_CMD_PER_LUN, | ||
169 | .emulated = ATA_SHT_EMULATED, | ||
170 | .use_clustering = ATA_SHT_USE_CLUSTERING, | ||
171 | .proc_name = DRV_NAME, | ||
172 | .dma_boundary = ATA_DMA_BOUNDARY, | ||
173 | .slave_configure = ata_scsi_slave_config, | ||
174 | .slave_destroy = ata_scsi_slave_destroy, | ||
175 | .bios_param = ata_std_bios_param, | ||
176 | }; | 162 | }; |
177 | 163 | ||
178 | static struct ata_port_operations cs5535_port_ops = { | 164 | static struct ata_port_operations cs5535_port_ops = { |