linux-mips
[Top] [All Lists]

[PATCH][MIPS] fix rb532 build error

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] fix rb532 build error
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Sat, 25 Oct 2008 00:21:24 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
arch/mips/pci/fixup-rc32434.c: In function 'pcibios_map_irq':
arch/mips/pci/fixup-rc32434.c:46: error: 'GROUP4_IRQ_BASE' undeclared (first 
use in this function)
arch/mips/pci/fixup-rc32434.c:46: error: (Each undeclared identifier is 
reported only once
arch/mips/pci/fixup-rc32434.c:46: error: for each function it appears in.)
make[1]: *** [arch/mips/pci/fixup-rc32434.o] Error 1

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X /home/yuasa/Memo/dontdiff 
linux-orig/arch/mips/pci/fixup-rc32434.c linux/arch/mips/pci/fixup-rc32434.c
--- linux-orig/arch/mips/pci/fixup-rc32434.c    2008-10-14 11:21:05.637174807 
+0900
+++ linux/arch/mips/pci/fixup-rc32434.c 2008-10-14 10:27:15.158974484 +0900
@@ -29,6 +29,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 
+#include <asm/mach-rc32434/irq.h>
 #include <asm/mach-rc32434/rc32434.h>
 
 static int __devinitdata irq_map[2][12] = {

<Prev in Thread] Current Thread [Next in Thread>