aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lantiq
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/lantiq
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/lantiq')
-rw-r--r--arch/mips/lantiq/clk.c6
-rw-r--r--arch/mips/lantiq/dts/danube.dtsi2
-rw-r--r--arch/mips/lantiq/dts/easy50712.dts2
-rw-r--r--arch/mips/lantiq/irq.c2
-rw-r--r--arch/mips/lantiq/prom.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c
index ce2f129b081f..186fd3e44242 100644
--- a/arch/mips/lantiq/clk.c
+++ b/arch/mips/lantiq/clk.c
@@ -145,9 +145,9 @@ static inline u32 get_counter_resolution(void)
145 u32 res; 145 u32 res;
146 146
147 __asm__ __volatile__( 147 __asm__ __volatile__(
148 ".set push\n" 148 ".set push\n"
149 ".set mips32r2\n" 149 ".set mips32r2\n"
150 "rdhwr %0, $3\n" 150 "rdhwr %0, $3\n"
151 ".set pop\n" 151 ".set pop\n"
152 : "=&r" (res) 152 : "=&r" (res)
153 : /* no input */ 153 : /* no input */
diff --git a/arch/mips/lantiq/dts/danube.dtsi b/arch/mips/lantiq/dts/danube.dtsi
index 3a4520f009cf..d4c59e003708 100644
--- a/arch/mips/lantiq/dts/danube.dtsi
+++ b/arch/mips/lantiq/dts/danube.dtsi
@@ -97,7 +97,7 @@
97 compatible = "lantiq,pci-xway"; 97 compatible = "lantiq,pci-xway";
98 bus-range = <0x0 0x0>; 98 bus-range = <0x0 0x0>;
99 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */ 99 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
100 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */ 100 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
101 reg = <0x7000000 0x8000 /* config space */ 101 reg = <0x7000000 0x8000 /* config space */
102 0xE105400 0x400>; /* pci bridge */ 102 0xE105400 0x400>; /* pci bridge */
103 }; 103 };
diff --git a/arch/mips/lantiq/dts/easy50712.dts b/arch/mips/lantiq/dts/easy50712.dts
index 68c17310bc82..fac1f5b178eb 100644
--- a/arch/mips/lantiq/dts/easy50712.dts
+++ b/arch/mips/lantiq/dts/easy50712.dts
@@ -103,7 +103,7 @@
103 lantiq,bus-clock = <33333333>; 103 lantiq,bus-clock = <33333333>;
104 interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 104 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
105 interrupt-map = < 105 interrupt-map = <
106 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29 106 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
107 >; 107 >;
108 gpios-reset = <&gpio 21 0>; 108 gpios-reset = <&gpio 21 0>;
109 req-mask = <0x1>; /* GNT1 */ 109 req-mask = <0x1>; /* GNT1 */
diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c
index a7935bf0fecb..5323308aab3f 100644
--- a/arch/mips/lantiq/irq.c
+++ b/arch/mips/lantiq/irq.c
@@ -344,7 +344,7 @@ int __init icu_of_init(struct device_node *node, struct device_node *parent)
344 if (eiu_node && !of_address_to_resource(eiu_node, 0, &res)) { 344 if (eiu_node && !of_address_to_resource(eiu_node, 0, &res)) {
345 /* find out how many external irq sources we have */ 345 /* find out how many external irq sources we have */
346 const __be32 *count = of_get_property(node, 346 const __be32 *count = of_get_property(node,
347 "lantiq,count", NULL); 347 "lantiq,count", NULL);
348 348
349 if (count) 349 if (count)
350 exin_avail = *count; 350 exin_avail = *count;
diff --git a/arch/mips/lantiq/prom.h b/arch/mips/lantiq/prom.h
index a3fa1a2bfaae..8e07b5f28ef1 100644
--- a/arch/mips/lantiq/prom.h
+++ b/arch/mips/lantiq/prom.h
@@ -10,7 +10,7 @@
10#define _LTQ_PROM_H__ 10#define _LTQ_PROM_H__
11 11
12#define LTQ_SYS_TYPE_LEN 0x100 12#define LTQ_SYS_TYPE_LEN 0x100
13#define LTQ_SYS_REV_LEN 0x10 13#define LTQ_SYS_REV_LEN 0x10
14 14
15struct ltq_soc_info { 15struct ltq_soc_info {
16 unsigned char *name; 16 unsigned char *name;