aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-10-30 09:30:07 -0500
committerRalf Baechle <ralf@linux-mips.org>2006-10-30 16:41:30 -0500
commite30e66becaa237d1753d148703cf8f1301ab27f0 (patch)
treeb33daab6767e2b217d587e8c4996f0f9f61bfb91
parent408d3258f99458f2dabcb1aa33918250e4864f00 (diff)
[MIPS] EMMA 2 / Markeins: Formitting fixes split from actual address fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/emma2rh/markeins/platform.c49
1 files changed, 23 insertions, 26 deletions
diff --git a/arch/mips/emma2rh/markeins/platform.c b/arch/mips/emma2rh/markeins/platform.c
index 15cc61df3622..0b884a12170d 100644
--- a/arch/mips/emma2rh/markeins/platform.c
+++ b/arch/mips/emma2rh/markeins/platform.c
@@ -83,32 +83,29 @@ struct platform_device i2c_emma_devices[] = {
83#define EMMA2RH_SERIAL_FLAGS UPF_BOOT_AUTOCONF | UPF_SKIP_TEST 83#define EMMA2RH_SERIAL_FLAGS UPF_BOOT_AUTOCONF | UPF_SKIP_TEST
84 84
85static struct plat_serial8250_port platform_serial_ports[] = { 85static struct plat_serial8250_port platform_serial_ports[] = {
86 [0] = { 86 [0] = {
87 .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR0_BASE + 3), 87 .membase= (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR0_BASE + 3),
88 .irq = EMMA2RH_IRQ_PFUR0, 88 .irq = EMMA2RH_IRQ_PFUR0,
89 .uartclk = EMMA2RH_SERIAL_CLOCK, 89 .uartclk = EMMA2RH_SERIAL_CLOCK,
90 .regshift = 4, 90 .regshift = 4,
91 .iotype = UPIO_MEM, 91 .iotype = UPIO_MEM,
92 .flags = EMMA2RH_SERIAL_FLAGS, 92 .flags = EMMA2RH_SERIAL_FLAGS,
93 }, 93 }, [1] = {
94 [1] = { 94 .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR1_BASE + 3),
95 .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR1_BASE + 3), 95 .irq = EMMA2RH_IRQ_PFUR1,
96 .irq = EMMA2RH_IRQ_PFUR1, 96 .uartclk = EMMA2RH_SERIAL_CLOCK,
97 .uartclk = EMMA2RH_SERIAL_CLOCK, 97 .regshift = 4,
98 .regshift = 4, 98 .iotype = UPIO_MEM,
99 .iotype = UPIO_MEM, 99 .flags = EMMA2RH_SERIAL_FLAGS,
100 .flags = EMMA2RH_SERIAL_FLAGS, 100 }, [2] = {
101 }, 101 .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3),
102 [2] = { 102 .irq = EMMA2RH_IRQ_PFUR2,
103 .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3), 103 .uartclk = EMMA2RH_SERIAL_CLOCK,
104 .irq = EMMA2RH_IRQ_PFUR2, 104 .regshift = 4,
105 .uartclk = EMMA2RH_SERIAL_CLOCK, 105 .iotype = UPIO_MEM,
106 .regshift = 4, 106 .flags = EMMA2RH_SERIAL_FLAGS,
107 .iotype = UPIO_MEM, 107 }, [3] = {
108 .flags = EMMA2RH_SERIAL_FLAGS, 108 .flags = 0,
109 },
110 [3] = {
111 .flags = 0,
112 }, 109 },
113}; 110};
114 111