linux-mips
[Top] [All Lists]

[PATCH 2.6] vr41xx: fixed build error

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 2.6] vr41xx: fixed build error
From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Date: Tue, 11 Jan 2005 00:36:24 +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,

This patch is fixed the following build error.

  CC      arch/mips/pci/fixup-mpc30x.o
arch/mips/pci/fixup-mpc30x.c:32: error: irq_tab_mpc30x causes a section type 
conflict
make[1]: *** [arch/mips/pci/fixup-mpc30x.o] Error 1
make: *** [arch/mips/pci] Error 2

Please apply this patch to 2.6.

Yoichi

Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>

diff -urN -X dontdiff a-orig/arch/mips/pci/fixup-mpc30x.c 
a/arch/mips/pci/fixup-mpc30x.c
--- a-orig/arch/mips/pci/fixup-mpc30x.c Fri Nov  5 00:42:26 2004
+++ a/arch/mips/pci/fixup-mpc30x.c      Mon Jan 10 23:54:09 2005
@@ -29,7 +29,7 @@
        VRC4173_USB_IRQ,
 };
 
-static char irq_tab_mpc30x[] __initdata = {
+static const int irq_tab_mpc30x[] __initdata = {
  [12] = VRC4173_PCMCIA1_IRQ,
  [13] = VRC4173_PCMCIA2_IRQ,
  [29] = MQ200_IRQ,

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 2.6] vr41xx: fixed build error, Yoichi Yuasa <=