From: Atsushi Nemoto Date: Tue, 24 Jul 2007 15:53:29 +0000 (+0900) Subject: [MIPS] rbtx4927: Fix -Werror-implicit-function-declaration build error. X-Git-Tag: v2.6.23-rc2~30^2~49 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4414cc48baa529311e9326c8bb13c1264c04122;p=linux-2.6 [MIPS] rbtx4927: Fix -Werror-implicit-function-declaration build error. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/tx4927/common/tx4927_irq.c b/arch/mips/tx4927/common/tx4927_irq.c index 3d25d010f3..00b0b975f3 100644 --- a/arch/mips/tx4927/common/tx4927_irq.c +++ b/arch/mips/tx4927/common/tx4927_irq.c @@ -43,6 +43,9 @@ #include #include #include +#ifdef CONFIG_TOSHIBA_RBTX4927 +#include +#endif /* * DEBUG diff --git a/include/asm-mips/tx4927/toshiba_rbtx4927.h b/include/asm-mips/tx4927/toshiba_rbtx4927.h index 94bef03d96..5dc40a8677 100644 --- a/include/asm-mips/tx4927/toshiba_rbtx4927.h +++ b/include/asm-mips/tx4927/toshiba_rbtx4927.h @@ -52,4 +52,6 @@ #define RBTX4927_RTL_8019_BASE (0x1c020280-TBTX4927_ISA_IO_OFFSET) #define RBTX4927_RTL_8019_IRQ (29) +int toshiba_rbtx4927_irq_nested(int sw_irq); + #endif /* __ASM_TX4927_TOSHIBA_RBTX4927_H */