aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/mach-anubis.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-07-26 15:16:39 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-07-26 15:16:39 -0400
commit705630dbddf743e600d654f5dc721d899db91594 (patch)
tree18c074bbf4146b61dadd4b2680bedfc13d56736e /arch/arm/mach-s3c2410/mach-anubis.c
parent34d926266500919a43520d3d52a4f7020b9f0687 (diff)
[ARM] 3732/1: S3C24XX: tidy syntax in osiris and anubis machines
Patch from Ben Dooks Tidy the syntax, such as missing ,'s on the end of struct entries, in the Osiris and Anubis machines. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-anubis.c')
-rw-r--r--arch/arm/mach-s3c2410/mach-anubis.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/arch/arm/mach-s3c2410/mach-anubis.c b/arch/arm/mach-s3c2410/mach-anubis.c
index 4a92d6f92d6b..0a5a7e4a24ad 100644
--- a/arch/arm/mach-s3c2410/mach-anubis.c
+++ b/arch/arm/mach-s3c2410/mach-anubis.c
@@ -60,11 +60,12 @@ static struct map_desc anubis_iodesc[] __initdata = {
60 .virtual = (u32)S3C24XX_VA_ISA_BYTE, 60 .virtual = (u32)S3C24XX_VA_ISA_BYTE,
61 .pfn = __phys_to_pfn(0x0), 61 .pfn = __phys_to_pfn(0x0),
62 .length = SZ_4M, 62 .length = SZ_4M,
63 .type = MT_DEVICE 63 .type = MT_DEVICE,
64 }, { 64 }, {
65 .virtual = (u32)S3C24XX_VA_ISA_WORD, 65 .virtual = (u32)S3C24XX_VA_ISA_WORD,
66 .pfn = __phys_to_pfn(0x0), 66 .pfn = __phys_to_pfn(0x0),
67 .length = SZ_4M, MT_DEVICE 67 .length = SZ_4M,
68 .type = MT_DEVICE,
68 }, 69 },
69 70
70 /* we could possibly compress the next set down into a set of smaller tables 71 /* we could possibly compress the next set down into a set of smaller tables
@@ -78,12 +79,12 @@ static struct map_desc anubis_iodesc[] __initdata = {
78 .virtual = (u32)ANUBIS_VA_CTRL1, 79 .virtual = (u32)ANUBIS_VA_CTRL1,
79 .pfn = __phys_to_pfn(ANUBIS_PA_CTRL1), 80 .pfn = __phys_to_pfn(ANUBIS_PA_CTRL1),
80 .length = SZ_4K, 81 .length = SZ_4K,
81 .type = MT_DEVICE 82 .type = MT_DEVICE,
82 }, { 83 }, {
83 .virtual = (u32)ANUBIS_VA_CTRL2, 84 .virtual = (u32)ANUBIS_VA_CTRL2,
84 .pfn = __phys_to_pfn(ANUBIS_PA_CTRL2), 85 .pfn = __phys_to_pfn(ANUBIS_PA_CTRL2),
85 .length = SZ_4K, 86 .length = SZ_4K,
86 .type =MT_DEVICE 87 .type = MT_DEVICE,
87 }, 88 },
88 89
89 /* IDE drives */ 90 /* IDE drives */
@@ -126,7 +127,7 @@ static struct s3c24xx_uart_clksrc anubis_serial_clocks[] = {
126 .name = "pclk", 127 .name = "pclk",
127 .divisor = 1, 128 .divisor = 1,
128 .min_baud = 0, 129 .min_baud = 0,
129 .max_baud = 0. 130 .max_baud = 0,
130 } 131 }
131}; 132};
132 133
@@ -139,7 +140,7 @@ static struct s3c2410_uartcfg anubis_uartcfgs[] __initdata = {
139 .ulcon = ULCON, 140 .ulcon = ULCON,
140 .ufcon = UFCON, 141 .ufcon = UFCON,
141 .clocks = anubis_serial_clocks, 142 .clocks = anubis_serial_clocks,
142 .clocks_size = ARRAY_SIZE(anubis_serial_clocks) 143 .clocks_size = ARRAY_SIZE(anubis_serial_clocks),
143 }, 144 },
144 [1] = { 145 [1] = {
145 .hwport = 2, 146 .hwport = 2,
@@ -148,7 +149,7 @@ static struct s3c2410_uartcfg anubis_uartcfgs[] __initdata = {
148 .ulcon = ULCON, 149 .ulcon = ULCON,
149 .ufcon = UFCON, 150 .ufcon = UFCON,
150 .clocks = anubis_serial_clocks, 151 .clocks = anubis_serial_clocks,
151 .clocks_size = ARRAY_SIZE(anubis_serial_clocks) 152 .clocks_size = ARRAY_SIZE(anubis_serial_clocks),
152 }, 153 },
153}; 154};
154 155
@@ -162,7 +163,7 @@ static struct mtd_partition anubis_default_nand_part[] = {
162 [0] = { 163 [0] = {
163 .name = "Boot Agent", 164 .name = "Boot Agent",
164 .size = SZ_16K, 165 .size = SZ_16K,
165 .offset = 0 166 .offset = 0,
166 }, 167 },
167 [1] = { 168 [1] = {
168 .name = "/boot", 169 .name = "/boot",
@@ -194,21 +195,21 @@ static struct s3c2410_nand_set anubis_nand_sets[] = {
194 .nr_chips = 1, 195 .nr_chips = 1,
195 .nr_map = external_map, 196 .nr_map = external_map,
196 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part), 197 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
197 .partitions = anubis_default_nand_part 198 .partitions = anubis_default_nand_part,
198 }, 199 },
199 [0] = { 200 [0] = {
200 .name = "chip0", 201 .name = "chip0",
201 .nr_chips = 1, 202 .nr_chips = 1,
202 .nr_map = chip0_map, 203 .nr_map = chip0_map,
203 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part), 204 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
204 .partitions = anubis_default_nand_part 205 .partitions = anubis_default_nand_part,
205 }, 206 },
206 [2] = { 207 [2] = {
207 .name = "chip1", 208 .name = "chip1",
208 .nr_chips = 1, 209 .nr_chips = 1,
209 .nr_map = chip1_map, 210 .nr_map = chip1_map,
210 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part), 211 .nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
211 .partitions = anubis_default_nand_part 212 .partitions = anubis_default_nand_part,
212 }, 213 },
213}; 214};
214 215
@@ -313,7 +314,7 @@ static struct s3c24xx_board anubis_board __initdata = {
313 .devices = anubis_devices, 314 .devices = anubis_devices,
314 .devices_count = ARRAY_SIZE(anubis_devices), 315 .devices_count = ARRAY_SIZE(anubis_devices),
315 .clocks = anubis_clocks, 316 .clocks = anubis_clocks,
316 .clocks_count = ARRAY_SIZE(anubis_clocks) 317 .clocks_count = ARRAY_SIZE(anubis_clocks),
317}; 318};
318 319
319static void __init anubis_map_io(void) 320static void __init anubis_map_io(void)