diff mbox

mn10300: Add missing include file to proc-init.c

Message ID 1464914308-10906-1-git-send-email-linux@roeck-us.net
State Accepted
Headers show

Commit Message

Guenter Roeck June 3, 2016, 12:38 a.m. UTC
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 <arnd@arndb.de>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
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(+)

Comments

Arnd Bergmann June 3, 2016, 11:53 a.m. UTC | #1
On Thursday, June 2, 2016 5:38:28 PM CEST Guenter Roeck wrote:
> 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 <arnd@arndb.de>
> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> Applies to next-20160602. Feel free to merge into the original patch.
> 

Thanks for the report.

Acked-by: Arnd Bergmann <arnd@arndb.de>
diff mbox

Patch

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>