diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-05-10 16:30:01 +0200 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-06-22 22:44:39 +0200 |
commit | e7068ad337a991fba627148a4a57939fdc1e6a2d (patch) | |
tree | 6fcfe2a48ffe83b8ccb9539333ee6c2b60d779d7 /arch/arm/mach-orion5x/kurobox_pro-setup.c | |
parent | f91a8dcc25398c5d708056de081d6cebf3f2023e (diff) | |
download | linux-3.10-e7068ad337a991fba627148a4a57939fdc1e6a2d.tar.gz linux-3.10-e7068ad337a991fba627148a4a57939fdc1e6a2d.tar.bz2 linux-3.10-e7068ad337a991fba627148a4a57939fdc1e6a2d.zip |
[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 f5074b877b7..60fcbf1e5d7 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[] = { .name = "uImage", .offset = 0, .size = SZ_4M, - }, - { + }, { .name = "rootfs", .offset = SZ_4M, .size = SZ_64M, - }, - { + }, { .name = "extra", .offset = SZ_4M + SZ_64M, .size = SZ_256M - (SZ_4M + SZ_64M), @@ -175,7 +173,7 @@ static struct i2c_board_info __initdata kurobox_pro_i2c_rtc = { * SATA ****************************************************************************/ static struct mv_sata_platform_data kurobox_pro_sata_data = { - .n_ports = 2, + .n_ports = 2, }; /***************************************************************************** |