forked from Minki/linux
tx493x: fix indentation
Trivial CodingStyle fixup for tx4938ide and tx4939ide drivers. Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Acked-by: Sergei Shtyltov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
b58602a4ba
commit
3ee86dcdd2
@ -216,16 +216,16 @@ static const struct ide_tp_ops tx4938ide_tp_ops = {
|
|||||||
#endif /* __BIG_ENDIAN */
|
#endif /* __BIG_ENDIAN */
|
||||||
|
|
||||||
static const struct ide_port_ops tx4938ide_port_ops = {
|
static const struct ide_port_ops tx4938ide_port_ops = {
|
||||||
.set_pio_mode = tx4938ide_set_pio_mode,
|
.set_pio_mode = tx4938ide_set_pio_mode,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct ide_port_info tx4938ide_port_info __initdata = {
|
static const struct ide_port_info tx4938ide_port_info __initdata = {
|
||||||
.port_ops = &tx4938ide_port_ops,
|
.port_ops = &tx4938ide_port_ops,
|
||||||
#ifdef __BIG_ENDIAN
|
#ifdef __BIG_ENDIAN
|
||||||
.tp_ops = &tx4938ide_tp_ops,
|
.tp_ops = &tx4938ide_tp_ops,
|
||||||
#endif
|
#endif
|
||||||
.host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_NO_DMA,
|
.host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_NO_DMA,
|
||||||
.pio_mask = ATA_PIO5,
|
.pio_mask = ATA_PIO5,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init tx4938ide_probe(struct platform_device *pdev)
|
static int __init tx4938ide_probe(struct platform_device *pdev)
|
||||||
|
@ -623,33 +623,33 @@ static const struct ide_tp_ops tx4939ide_tp_ops = {
|
|||||||
#endif /* __LITTLE_ENDIAN */
|
#endif /* __LITTLE_ENDIAN */
|
||||||
|
|
||||||
static const struct ide_port_ops tx4939ide_port_ops = {
|
static const struct ide_port_ops tx4939ide_port_ops = {
|
||||||
.set_pio_mode = tx4939ide_set_pio_mode,
|
.set_pio_mode = tx4939ide_set_pio_mode,
|
||||||
.set_dma_mode = tx4939ide_set_dma_mode,
|
.set_dma_mode = tx4939ide_set_dma_mode,
|
||||||
.clear_irq = tx4939ide_clear_irq,
|
.clear_irq = tx4939ide_clear_irq,
|
||||||
.cable_detect = tx4939ide_cable_detect,
|
.cable_detect = tx4939ide_cable_detect,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct ide_dma_ops tx4939ide_dma_ops = {
|
static const struct ide_dma_ops tx4939ide_dma_ops = {
|
||||||
.dma_host_set = tx4939ide_dma_host_set,
|
.dma_host_set = tx4939ide_dma_host_set,
|
||||||
.dma_setup = tx4939ide_dma_setup,
|
.dma_setup = tx4939ide_dma_setup,
|
||||||
.dma_exec_cmd = ide_dma_exec_cmd,
|
.dma_exec_cmd = ide_dma_exec_cmd,
|
||||||
.dma_start = ide_dma_start,
|
.dma_start = ide_dma_start,
|
||||||
.dma_end = tx4939ide_dma_end,
|
.dma_end = tx4939ide_dma_end,
|
||||||
.dma_test_irq = tx4939ide_dma_test_irq,
|
.dma_test_irq = tx4939ide_dma_test_irq,
|
||||||
.dma_lost_irq = ide_dma_lost_irq,
|
.dma_lost_irq = ide_dma_lost_irq,
|
||||||
.dma_timeout = ide_dma_timeout,
|
.dma_timeout = ide_dma_timeout,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct ide_port_info tx4939ide_port_info __initdata = {
|
static const struct ide_port_info tx4939ide_port_info __initdata = {
|
||||||
.init_hwif = tx4939ide_init_hwif,
|
.init_hwif = tx4939ide_init_hwif,
|
||||||
.init_dma = tx4939ide_init_dma,
|
.init_dma = tx4939ide_init_dma,
|
||||||
.port_ops = &tx4939ide_port_ops,
|
.port_ops = &tx4939ide_port_ops,
|
||||||
.dma_ops = &tx4939ide_dma_ops,
|
.dma_ops = &tx4939ide_dma_ops,
|
||||||
.tp_ops = &tx4939ide_tp_ops,
|
.tp_ops = &tx4939ide_tp_ops,
|
||||||
.host_flags = IDE_HFLAG_MMIO,
|
.host_flags = IDE_HFLAG_MMIO,
|
||||||
.pio_mask = ATA_PIO4,
|
.pio_mask = ATA_PIO4,
|
||||||
.mwdma_mask = ATA_MWDMA2,
|
.mwdma_mask = ATA_MWDMA2,
|
||||||
.udma_mask = ATA_UDMA5,
|
.udma_mask = ATA_UDMA5,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init tx4939ide_probe(struct platform_device *pdev)
|
static int __init tx4939ide_probe(struct platform_device *pdev)
|
||||||
|
Loading…
Reference in New Issue
Block a user