diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-05-10 10:30:01 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-06-22 16:44:39 -0400 |
commit | e7068ad337a991fba627148a4a57939fdc1e6a2d (patch) | |
tree | 6fcfe2a48ffe83b8ccb9539333ee6c2b60d779d7 /arch/arm/mach-orion5x/kurobox_pro-setup.c | |
parent | f91a8dcc25398c5d708056de081d6cebf3f2023e (diff) |
[ARM] Orion: fix various whitespace and coding style issues
More cosmetic cleanup:
- Replace 8-space indents by proper tab indents.
- In structure initialisers, use a trailing comma for every member.
- Collapse "},\n{" in structure initialiers to "}, {".
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Russell King <linux@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-orion5x/kurobox_pro-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/kurobox_pro-setup.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-orion5x/kurobox_pro-setup.c b/arch/arm/mach-orion5x/kurobox_pro-setup.c index f5074b877b7f..60fcbf1e5d72 100644 --- a/arch/arm/mach-orion5x/kurobox_pro-setup.c +++ b/arch/arm/mach-orion5x/kurobox_pro-setup.c | |||
@@ -53,13 +53,11 @@ static struct mtd_partition kurobox_pro_nand_parts[] = { | |||
53 | .name = "uImage", | 53 | .name = "uImage", |
54 | .offset = 0, | 54 | .offset = 0, |
55 | .size = SZ_4M, | 55 | .size = SZ_4M, |
56 | }, | 56 | }, { |
57 | { | ||
58 | .name = "rootfs", | 57 | .name = "rootfs", |
59 | .offset = SZ_4M, | 58 | .offset = SZ_4M, |
60 | .size = SZ_64M, | 59 | .size = SZ_64M, |
61 | }, | 60 | }, { |
62 | { | ||
63 | .name = "extra", | 61 | .name = "extra", |
64 | .offset = SZ_4M + SZ_64M, | 62 | .offset = SZ_4M + SZ_64M, |
65 | .size = SZ_256M - (SZ_4M + SZ_64M), | 63 | .size = SZ_256M - (SZ_4M + SZ_64M), |
@@ -175,7 +173,7 @@ static struct i2c_board_info __initdata kurobox_pro_i2c_rtc = { | |||
175 | * SATA | 173 | * SATA |
176 | ****************************************************************************/ | 174 | ****************************************************************************/ |
177 | static struct mv_sata_platform_data kurobox_pro_sata_data = { | 175 | static struct mv_sata_platform_data kurobox_pro_sata_data = { |
178 | .n_ports = 2, | 176 | .n_ports = 2, |
179 | }; | 177 | }; |
180 | 178 | ||
181 | /***************************************************************************** | 179 | /***************************************************************************** |