mn10300:asb2303_defconfig fails to build as follows.

arch/mn10300/proc-mn103e010/proc-init.c: In function 'processor_init':
arch/mn10300/proc-mn103e010/proc-init.c:59:24: error: 'NR_IRQS' undeclared

Fixes: 4511118b5b44 ("char/genrtc: remove mn10300 support")
Cc: Arnd Bergmann <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
---
Applies to next-20160602. Feel free to merge into the original patch.

 arch/mn10300/proc-mn103e010/proc-init.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mn10300/proc-mn103e010/proc-init.c 
b/arch/mn10300/proc-mn103e010/proc-init.c
index d4dcb0c56b35..94641c420b3f 100644
--- a/arch/mn10300/proc-mn103e010/proc-init.c
+++ b/arch/mn10300/proc-mn103e010/proc-init.c
@@ -11,6 +11,7 @@
 #include <linux/kernel.h>
 #include <asm/cacheflush.h>
 #include <asm/fpu.h>
+#include <asm/irq.h>
 #include <asm/rtc.h>
 #include <asm/busctl-regs.h>
 
-- 
2.5.0

Reply via email to