linux-mips
[Top] [All Lists]

[PATCH] vr41xx: fixes the compile error in giu.c

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] vr41xx: fixes the compile error in giu.c
From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Date: Mon, 5 Jul 2004 00:29:56 +0900
Cc: yuasa@hh.iij4u.or.jp, linux-mips <linux-mips@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

The following patch fixes the compile error in arch/mips/vr41xx/common/giu.c.

Please apply this patch to v2.6 CVS tree.

Yoichi

diff -urN -X dontdiff linux-orig/arch/mips/vr41xx/common/giu.c 
linux/arch/mips/vr41xx/common/giu.c
--- linux-orig/arch/mips/vr41xx/common/giu.c    Mon Jun 28 11:12:23 2004
+++ linux/arch/mips/vr41xx/common/giu.c Mon Jul  5 00:11:01 2004
@@ -63,6 +63,12 @@
 
 static uint32_t giu_base;
 
+static struct irqaction giu_cascade = {
+       .handler        = no_action,
+       .mask           = CPU_MASK_NONE,
+       .name           = "cascade",
+};
+
 #define read_giuint(offset)            readw(giu_base + (offset))
 #define write_giuint(val, offset)      writew((val), giu_base + (offset))
 
@@ -303,7 +309,6 @@
 };
 
 static struct vr41xx_giuint_cascade giuint_cascade[GIUINT_NR_IRQS];
-static struct irqaction giu_cascade = {no_action, 0, CPU_MASK_NONE, "cascade", 
NULL, NULL};
 
 static int no_irq_number(int irq)
 {

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] vr41xx: fixes the compile error in giu.c, Yoichi Yuasa <=