Thread (28 messages) flat view 28 messages, 5 authors, 2012-01-19
STALE5324d

[RFC PATCH 01/10] rtc: sa1100: include mach/irqs.h instead of asm/irq.h

From: Rob Herring <hidden>
Date: 2012-01-13 16:58:01
Also in: linux-sh

On 01/13/2012 10:43 AM, Russell King - ARM Linux wrote:
On Fri, Jan 13, 2012 at 10:34:02AM -0600, Rob Herring wrote:
quoted
From: Rob Herring <redacted>

Since asm/irq.h may not include mach/irqs.h, include mach/irqs.h directly.
Rather than doing this, we should be eliminating the need for these
old drivers to include mach/irqs.h at all.

Adding the resources to the platform device, and then using at least
the IRQ resource(s) would be a definite step forward (and a relatively
easy one to do.)
Well, this has just happened in 3.3. So I can now drop this one I think.

Rob
quoted
Signed-off-by: Rob Herring <redacted>
---
 drivers/rtc/rtc-sa1100.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c
index 4595d3e..144fa06 100644
--- a/drivers/rtc/rtc-sa1100.c
+++ b/drivers/rtc/rtc-sa1100.c
@@ -33,7 +33,7 @@
 #include <linux/io.h>
 
 #include <mach/hardware.h>
-#include <asm/irq.h>
+#include <mach/irqs.h>
 
 #define RTC_DEF_DIVIDER		(32768 - 1)
 #define RTC_DEF_TRIM		0
-- 
1.7.5.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help