Commit e30e66be authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] EMMA 2 / Markeins: Formitting fixes split from actual address fixes.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 408d3258
...@@ -83,32 +83,29 @@ struct platform_device i2c_emma_devices[] = { ...@@ -83,32 +83,29 @@ struct platform_device i2c_emma_devices[] = {
#define EMMA2RH_SERIAL_FLAGS UPF_BOOT_AUTOCONF | UPF_SKIP_TEST #define EMMA2RH_SERIAL_FLAGS UPF_BOOT_AUTOCONF | UPF_SKIP_TEST
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] = {
}, .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3),
[2] = { .irq = EMMA2RH_IRQ_PFUR2,
.membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3), .uartclk = EMMA2RH_SERIAL_CLOCK,
.irq = EMMA2RH_IRQ_PFUR2, .regshift = 4,
.uartclk = EMMA2RH_SERIAL_CLOCK, .iotype = UPIO_MEM,
.regshift = 4, .flags = EMMA2RH_SERIAL_FLAGS,
.iotype = UPIO_MEM, }, [3] = {
.flags = EMMA2RH_SERIAL_FLAGS, .flags = 0,
},
[3] = {
.flags = 0,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment