mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
[libata] pdc_adma: Reorder initializers with a couple structs
Make it easier to verify which struct initializers are present, by presenting them in the order in which they are defined in the API header. Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
59f998802b
commit
49de0ac823
@ -145,32 +145,32 @@ static struct scsi_host_template adma_ata_sht = {
|
|||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.ioctl = ata_scsi_ioctl,
|
.ioctl = ata_scsi_ioctl,
|
||||||
.queuecommand = ata_scsi_queuecmd,
|
.queuecommand = ata_scsi_queuecmd,
|
||||||
.can_queue = ATA_DEF_QUEUE,
|
|
||||||
.this_id = ATA_SHT_THIS_ID,
|
|
||||||
.sg_tablesize = LIBATA_MAX_PRD,
|
|
||||||
.cmd_per_lun = ATA_SHT_CMD_PER_LUN,
|
|
||||||
.emulated = ATA_SHT_EMULATED,
|
|
||||||
.use_clustering = ENABLE_CLUSTERING,
|
|
||||||
.proc_name = DRV_NAME,
|
|
||||||
.dma_boundary = ADMA_DMA_BOUNDARY,
|
|
||||||
.slave_configure = ata_scsi_slave_config,
|
.slave_configure = ata_scsi_slave_config,
|
||||||
.slave_destroy = ata_scsi_slave_destroy,
|
.slave_destroy = ata_scsi_slave_destroy,
|
||||||
.bios_param = ata_std_bios_param,
|
.bios_param = ata_std_bios_param,
|
||||||
|
.proc_name = DRV_NAME,
|
||||||
|
.can_queue = ATA_DEF_QUEUE,
|
||||||
|
.this_id = ATA_SHT_THIS_ID,
|
||||||
|
.sg_tablesize = LIBATA_MAX_PRD,
|
||||||
|
.dma_boundary = ADMA_DMA_BOUNDARY,
|
||||||
|
.cmd_per_lun = ATA_SHT_CMD_PER_LUN,
|
||||||
|
.use_clustering = ENABLE_CLUSTERING,
|
||||||
|
.emulated = ATA_SHT_EMULATED,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct ata_port_operations adma_ata_ops = {
|
static const struct ata_port_operations adma_ata_ops = {
|
||||||
.port_disable = ata_port_disable,
|
.port_disable = ata_port_disable,
|
||||||
.tf_load = ata_tf_load,
|
.tf_load = ata_tf_load,
|
||||||
.tf_read = ata_tf_read,
|
.tf_read = ata_tf_read,
|
||||||
.check_status = ata_check_status,
|
|
||||||
.check_atapi_dma = adma_check_atapi_dma,
|
|
||||||
.exec_command = ata_exec_command,
|
.exec_command = ata_exec_command,
|
||||||
|
.check_status = ata_check_status,
|
||||||
.dev_select = ata_std_dev_select,
|
.dev_select = ata_std_dev_select,
|
||||||
.phy_reset = adma_phy_reset,
|
.phy_reset = adma_phy_reset,
|
||||||
|
.check_atapi_dma = adma_check_atapi_dma,
|
||||||
|
.data_xfer = ata_data_xfer,
|
||||||
.qc_prep = adma_qc_prep,
|
.qc_prep = adma_qc_prep,
|
||||||
.qc_issue = adma_qc_issue,
|
.qc_issue = adma_qc_issue,
|
||||||
.eng_timeout = adma_eng_timeout,
|
.eng_timeout = adma_eng_timeout,
|
||||||
.data_xfer = ata_data_xfer,
|
|
||||||
.irq_clear = adma_irq_clear,
|
.irq_clear = adma_irq_clear,
|
||||||
.irq_on = ata_irq_on,
|
.irq_on = ata_irq_on,
|
||||||
.irq_ack = ata_irq_ack,
|
.irq_ack = ata_irq_ack,
|
||||||
|
Loading…
Reference in New Issue
Block a user