Subject: [PATCH] vr41xx: fixes the initialization error in icu.c

From: Yoichi Yuasa <[email-masked]>
Date: Mon, 5 Jul 2004 00:32:39 +0900

Hi Ralf,

The following patch fixes the initialization error in arch/mips/vr41xx/common/icu.c.

Please apply this patch to v2.6 CVS tree.

Yoichi

diff -urN -X dontdiff linux-orig/arch/mips/vr41xx/common/icu.c linux/arch/mips/vr41xx/common/icu.c
--- linux-orig/arch/mips/vr41xx/common/icu.c	Thu May 27 02:11:11 2004
+++ linux/arch/mips/vr41xx/common/icu.c	Mon Jul  5 00:10:57 2004
@@ -51,6 +51,12 @@
 static uint32_t icu1_base;
 static uint32_t icu2_base;
 
+static struct irqaction icu_cascade = {
+	.handler	= no_action,
+	.mask		= CPU_MASK_NONE,
+	.name		= "cascade",
+};
+
 static unsigned char sysint1_assign[16] = {
 	0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
 static unsigned char sysint2_assign[16] = {
@@ -673,8 +679,6 @@
 early_initcall(vr41xx_icu_init);
 
 /*=======================================================================*/
-
-static struct irqaction icu_cascade = {no_action, 0, 0, "cascade", NULL, NULL};
 
 static inline void init_vr41xx_icu_irq(void)
 {