Skip to contentSkip to conversation

sh: Fix compile error SH7763 setup code

PATCH Applied Nobuhiro Iwamatsu 2 participants 2 messages Jun 4, 2008 – Jun 6, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: Fix compile error SH7763 setup code

SH7763's setup code use old DECLARE_INTC_DESC.
There was a compile error because of this.

---
 arch/sh/kernel/cpu/sh4a/setup-sh7763.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
arch/sh/kernel/cpu/sh4a/setup-sh7763.c +5 -4
index ae2b222..f189a55 100644
@@ -291,8 +291,9 @@ static struct intc_sense_reg irq_sense_registers[] __initdata = {
 };
 
 static DECLARE_INTC_DESC(intc_irq_desc, "sh7763-irq", irq_vectors,
-			 NULL, NULL, irq_mask_registers, irq_prio_registers,
-			 irq_sense_registers);
+			NULL, irq_mask_registers, irq_prio_registers,
+			irq_sense_registers);
+
 
 /* External interrupt pins in IRL mode */
 static struct intc_vect irl_vectors[] __initdata = {
@@ -324,10 +325,10 @@ static struct intc_mask_reg irl7654_mask_registers[] __initdata = {
 };
 
 static DECLARE_INTC_DESC(intc_irl7654_desc, "sh7763-irl7654", irl_vectors,
-			 NULL, NULL, irl7654_mask_registers, NULL, NULL);
+			NULL, irl7654_mask_registers, NULL, NULL);
 
 static DECLARE_INTC_DESC(intc_irl3210_desc, "sh7763-irl3210", irl_vectors,
-			 NULL, NULL, irl3210_mask_registers, NULL, NULL);
+			NULL, irl3210_mask_registers, NULL, NULL);
 
 #define INTC_ICR0	0xffd00000
 #define INTC_INTMSK0	0xffd00044
Signature · 1 line
1.5.5.1