mirror of https://gitee.com/openkylin/linux.git
[MIPS] EMMA 2 / Markeins: Formitting fixes split from actual address fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
408d3258f9
commit
e30e66beca
|
@ -84,30 +84,27 @@ struct platform_device i2c_emma_devices[] = {
|
||||||
|
|
||||||
static struct plat_serial8250_port platform_serial_ports[] = {
|
static struct plat_serial8250_port platform_serial_ports[] = {
|
||||||
[0] = {
|
[0] = {
|
||||||
.membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR0_BASE + 3),
|
.membase= (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR0_BASE + 3),
|
||||||
.irq = EMMA2RH_IRQ_PFUR0,
|
.irq = EMMA2RH_IRQ_PFUR0,
|
||||||
.uartclk = EMMA2RH_SERIAL_CLOCK,
|
.uartclk = EMMA2RH_SERIAL_CLOCK,
|
||||||
.regshift = 4,
|
.regshift = 4,
|
||||||
.iotype = UPIO_MEM,
|
.iotype = UPIO_MEM,
|
||||||
.flags = EMMA2RH_SERIAL_FLAGS,
|
.flags = EMMA2RH_SERIAL_FLAGS,
|
||||||
},
|
}, [1] = {
|
||||||
[1] = {
|
|
||||||
.membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR1_BASE + 3),
|
.membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR1_BASE + 3),
|
||||||
.irq = EMMA2RH_IRQ_PFUR1,
|
.irq = EMMA2RH_IRQ_PFUR1,
|
||||||
.uartclk = EMMA2RH_SERIAL_CLOCK,
|
.uartclk = EMMA2RH_SERIAL_CLOCK,
|
||||||
.regshift = 4,
|
.regshift = 4,
|
||||||
.iotype = UPIO_MEM,
|
.iotype = UPIO_MEM,
|
||||||
.flags = EMMA2RH_SERIAL_FLAGS,
|
.flags = EMMA2RH_SERIAL_FLAGS,
|
||||||
},
|
}, [2] = {
|
||||||
[2] = {
|
|
||||||
.membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3),
|
.membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3),
|
||||||
.irq = EMMA2RH_IRQ_PFUR2,
|
.irq = EMMA2RH_IRQ_PFUR2,
|
||||||
.uartclk = EMMA2RH_SERIAL_CLOCK,
|
.uartclk = EMMA2RH_SERIAL_CLOCK,
|
||||||
.regshift = 4,
|
.regshift = 4,
|
||||||
.iotype = UPIO_MEM,
|
.iotype = UPIO_MEM,
|
||||||
.flags = EMMA2RH_SERIAL_FLAGS,
|
.flags = EMMA2RH_SERIAL_FLAGS,
|
||||||
},
|
}, [3] = {
|
||||||
[3] = {
|
|
||||||
.flags = 0,
|
.flags = 0,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue