Skip to contentSkip to conversation

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

PATCH In review Guenter Roeck 3 participants 3 messages Jun 3, 2016 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

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

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]>

---
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(+)
arch/mn10300/proc-mn103e010/proc-init.c +1 -0
index d4dcb0c56b35..94641c420b3f 100644
@@ -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>
 
Signature · 1 line
2.5.0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · CEST Guenter Roeck

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

Quoted 7 lines
Fixes 4511118b5b44 ("char/genrtc: remove mn10300 support")
Cc Arnd Bergmann <[email protected]>
Cc Alexandre Belloni <[email protected]>

---
Applies to next-20160602. Feel free to merge into the original patch.

Thanks for the report.

#2 lore raw
In reply to Guenter Roeck
Quoted 5 lines · Guenter Roeck

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

Quoted 7 lines
Fixes 4511118b5b44 ("char/genrtc: remove mn10300 support")
Cc Arnd Bergmann <[email protected]>
Cc Alexandre Belloni <[email protected]>

---
Applies to next-20160602. Feel free to merge into the original patch.

Squashed in the original patch, thanks!

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com