Linux RTC
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH] mn10300: Add missing include file to proc-init.c
@ 2016-06-03  0:38 Guenter Roeck
  2016-06-03 11:53 ` [rtc-linux] " Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2016-06-03  0:38 UTC (permalink / raw)
  To: David Howells
  Cc: linux-am33-list, linux-kernel, Guenter Roeck, Arnd Bergmann,
	Alexandre Belloni

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(+)

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

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rtc-linux] Re: [PATCH] mn10300: Add missing include file to proc-init.c
  2016-06-03  0:38 [rtc-linux] [PATCH] mn10300: Add missing include file to proc-init.c Guenter Roeck
@ 2016-06-03 11:53 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2016-06-03 11:53 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: David Howells, linux-am33-list, linux-kernel, Alexandre Belloni

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>

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-03 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-03  0:38 [rtc-linux] [PATCH] mn10300: Add missing include file to proc-init.c Guenter Roeck
2016-06-03 11:53 ` [rtc-linux] " Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox