aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/rb532
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-01-22 06:59:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 04:00:22 -0500
commit7034228792cc561e79ff8600f02884bd4c80e287 (patch)
tree89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/rb532
parent405ab01c70e18058d9c01a1256769a61fc65413e (diff)
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/rb532')
-rw-r--r--arch/mips/rb532/devices.c12
-rw-r--r--arch/mips/rb532/gpio.c8
-rw-r--r--arch/mips/rb532/irq.c4
3 files changed, 12 insertions, 12 deletions
diff --git a/arch/mips/rb532/devices.c b/arch/mips/rb532/devices.c
index 716e9a12f0e7..3af00b2a26ee 100644
--- a/arch/mips/rb532/devices.c
+++ b/arch/mips/rb532/devices.c
@@ -215,9 +215,9 @@ static struct resource rb532_wdt_res[] = {
215}; 215};
216 216
217static struct platform_device rb532_wdt = { 217static struct platform_device rb532_wdt = {
218 .name = "rc32434_wdt", 218 .name = "rc32434_wdt",
219 .id = -1, 219 .id = -1,
220 .resource = rb532_wdt_res, 220 .resource = rb532_wdt_res,
221 .num_resources = ARRAY_SIZE(rb532_wdt_res), 221 .num_resources = ARRAY_SIZE(rb532_wdt_res),
222}; 222};
223 223
@@ -235,8 +235,8 @@ static struct plat_serial8250_port rb532_uart_res[] = {
235}; 235};
236 236
237static struct platform_device rb532_uart = { 237static struct platform_device rb532_uart = {
238 .name = "serial8250", 238 .name = "serial8250",
239 .id = PLAT8250_DEV_PLATFORM, 239 .id = PLAT8250_DEV_PLATFORM,
240 .dev.platform_data = &rb532_uart_res, 240 .dev.platform_data = &rb532_uart_res,
241}; 241};
242 242
@@ -273,7 +273,7 @@ static void __init parse_mac_addr(char *macstr)
273 273
274 274
275/* NAND definitions */ 275/* NAND definitions */
276#define NAND_CHIP_DELAY 25 276#define NAND_CHIP_DELAY 25
277 277
278static void __init rb532_nand_setup(void) 278static void __init rb532_nand_setup(void)
279{ 279{
diff --git a/arch/mips/rb532/gpio.c b/arch/mips/rb532/gpio.c
index 6ec41df3cb99..a18007613c30 100644
--- a/arch/mips/rb532/gpio.c
+++ b/arch/mips/rb532/gpio.c
@@ -44,10 +44,10 @@ struct rb532_gpio_chip {
44 44
45static struct resource rb532_gpio_reg0_res[] = { 45static struct resource rb532_gpio_reg0_res[] = {
46 { 46 {
47 .name = "gpio_reg0", 47 .name = "gpio_reg0",
48 .start = REGBASE + GPIOBASE, 48 .start = REGBASE + GPIOBASE,
49 .end = REGBASE + GPIOBASE + sizeof(struct rb532_gpio_reg) - 1, 49 .end = REGBASE + GPIOBASE + sizeof(struct rb532_gpio_reg) - 1,
50 .flags = IORESOURCE_MEM, 50 .flags = IORESOURCE_MEM,
51 } 51 }
52}; 52};
53 53
diff --git a/arch/mips/rb532/irq.c b/arch/mips/rb532/irq.c
index f298430cff07..3a431e802bbc 100644
--- a/arch/mips/rb532/irq.c
+++ b/arch/mips/rb532/irq.c
@@ -21,7 +21,7 @@
21 * 21 *
22 * Copyright 2002 MontaVista Software Inc. 22 * Copyright 2002 MontaVista Software Inc.
23 * Author: MontaVista Software, Inc. 23 * Author: MontaVista Software, Inc.
24 * stevel@mvista.com or source@mvista.com 24 * stevel@mvista.com or source@mvista.com
25 */ 25 */
26 26
27#include <linux/bitops.h> 27#include <linux/bitops.h>
@@ -51,7 +51,7 @@ struct intr_group {
51 volatile u32 *base_addr; 51 volatile u32 *base_addr;
52}; 52};
53 53
54#define RC32434_NR_IRQS (GROUP4_IRQ_BASE + 32) 54#define RC32434_NR_IRQS (GROUP4_IRQ_BASE + 32)
55 55
56#if (NR_IRQS < RC32434_NR_IRQS) 56#if (NR_IRQS < RC32434_NR_IRQS)
57#error Too little irqs defined. Did you override <asm/irq.h> ? 57#error Too little irqs defined. Did you override <asm/irq.h> ?