Skip to contentSkip to conversation

MIPS: ar7: remove trailing semicolon in clock.c

PATCH Applied Florian Fainelli 2 participants 12 messages Jun 12, 2011 – Jun 15, 2011 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 MIPS: ar7: remove trailing semicolon in clock.c

---
 arch/mips/ar7/clock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/ar7/clock.c +1 -1
index 2ca4ada..2460f9d 100644
@@ -443,7 +443,7 @@ struct clk *clk_get(struct device *dev, const char *id)
 		return &vbus_clk;
 	if (!strcmp(id, "cpu"))
 		return &cpu_clk;
-	if (!strcmp(id, "dsp"));
+	if (!strcmp(id, "dsp"))
 		return &dsp_clk;
 	if (!strcmp(id, "vbus"))
 		return &vbus_clk;
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 2/5 MIPS: ar7: remove 'space before tabs' in platform.c

---
 arch/mips/ar7/platform.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/ar7/platform.c +1 -1
index 7d2fab3..33ffecf 100644
@@ -229,7 +229,7 @@ static struct resource cpmac_low_res[] = {
 		.name	= "irq",
 		.flags	= IORESOURCE_IRQ,
 		.start	= 27,
-		.end 	= 27,
+		.end	= 27,
 	},
 };
 
Signature · 1 line
1.7.4.1
#2 lore raw

Re: [PATCH 2/5] MIPS: ar7: remove 'space before tabs' in platform.c

Queued for 3.1 or 3.1.0, whatever ...

Ralf

#3 lore raw

PATCH 3/5 MIPS: ar7: replace __attribute__((__packed__)) with __packed

In reply to Florian Fainelli
---
 arch/mips/ar7/prom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/ar7/prom.c +1 -1
index 23818d2..8088c6f 100644
@@ -77,7 +77,7 @@ struct psp_env_chunk {
 	u16	csum;
 	u8	len;
 	char	data[11];
-} __attribute__ ((packed));
+} __packed;
 
 struct psp_var_map_entry {
 	u8	num;
Signature · 1 line
1.7.4.1
#4 lore raw

Re: [PATCH 3/5] MIPS: ar7: replace __attribute__((__packed__)) with __packed

Also queued for 3.1.

Ralf

#5 lore raw

PATCH 4/5 MIPS: ar7: use linux/reboot.h instead of asm/reboot.h

In reply to Florian Fainelli
---
 arch/mips/ar7/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/ar7/setup.c +1 -1
index f20b53e..819d47c 100644
@@ -19,8 +19,8 @@
 #include <linux/ioport.h>
 #include <linux/pm.h>
 #include <linux/time.h>
+#include <linux/reboot.h>
 
-#include <asm/reboot.h>
 #include <asm/mach-ar7/ar7.h>
 #include <asm/mach-ar7/prom.h>
 #include <asm/mach-ar7/gpio.h>
Signature · 1 line
1.7.4.1
#6 lore raw

Re: [PATCH 4/5] MIPS: ar7: use linux/reboot.h instead of asm/reboot.h

Quoted 5 lines · On Sunday 12 June 2011 20:57:20 Florian Fainelli wrote:
---
 arch/mips/ar7/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Ralf, please discard this one, it's causing a build failure.

Signature · 1 line
Florian
#7 lore raw

Re: [PATCH 4/5] MIPS: ar7: use linux/reboot.h instead of asm/reboot.h

Quoted 1 line · Florian Fainelli

Ralf, please discard this one, it's causing a build failure.

Okay, bitbucketed.

Ralf

#8 lore raw

PATCH 5/5 MIPS: ar7: use linux/time.h instead of asm/time.h

In reply to Florian Fainelli
---
 arch/mips/ar7/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/ar7/time.c +1 -1
index 22c9321..37777bf 100644
@@ -22,8 +22,8 @@
 #include <linux/time.h>
 #include <linux/err.h>
 #include <linux/clk.h>
+#include <linux/time.h>
 
-#include <asm/time.h>
 #include <asm/mach-ar7/ar7.h>
 
 void __init plat_time_init(void)
Signature · 1 line
1.7.4.1
#9 lore raw

Re: [PATCH 5/5] MIPS: ar7: use linux/time.h instead of asm/time.h

Quoted 4 lines · On Sunday 12 June 2011 20:57:21 Florian Fainelli wrote:
---
 arch/mips/ar7/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

And this one too is causing a build failure, sorry about that.

Signature · 1 line
Florian
#10 lore raw

Re: [PATCH 5/5] MIPS: ar7: use linux/time.h instead of asm/time.h

Quoted 4 lines · Florian Fainelli
Quoted 2 lines
 arch/mips/ar7/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

And this one too is causing a build failure, sorry about that.

Shredded as well.

Ralf

Applied
#11 lore raw
In reply to Florian Fainelli

arch/mips/ar7/clock.c struct clk *clk_get(struct device *dev, const char *id) · line 446

Quoted 2 lines · Florian Fainelli
arch/mips/ar7/clock.c +1 -1
-	if (!strcmp(id, "dsp"));
+	if (!strcmp(id, "dsp"))

Lovely ...

Applied. Thanks,

Ralf