Skip to contentSkip to conversation

rtc: sa1100: drop mach/irqs.h include

PATCH In review Dmitry Eremin-Solenikov 2 participants 2 messages May 28, 2015 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: sa1100: drop mach/irqs.h include

There is no reason to include <mach/irqs.h> anymore - the driver gets IRQs via platform_get_irq_byname().

---
 drivers/rtc/rtc-sa1100.c | 1 -
 1 file changed, 1 deletion(-)
drivers/rtc/rtc-sa1100.c +0 -1
index b6e1ca0..c221527 100644
@@ -36,7 +36,6 @@
 #include <linux/io.h>
 
 #include <mach/hardware.h>
-#include <mach/irqs.h>
 
 #if defined(CONFIG_ARCH_PXA) || defined(CONFIG_ARCH_MMP)
 #include <mach/regs-rtc.h>
Signature · 12 lines
2.1.4

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.
#1 lore raw

Hi,

Quoted 13 lines · Dmitry Eremin-Solenikov

There is no reason to include <mach/irqs.h> anymore - the driver gets IRQs via platform_get_irq_byname().

---
 drivers/rtc/rtc-sa1100.c | 1 -
 1 file changed, 1 deletion(-)
drivers/rtc/rtc-sa1100.c +0 -0
index b6e1ca0..c221527 100644

drivers/rtc/rtc-sa1100.c line 39

Quoted 5 lines
drivers/rtc/rtc-sa1100.c +0 -1
@@ -36,7 +36,6 @@
 #include <linux/io.h>
 
 #include <mach/hardware.h>
-#include <mach/irqs.h>
 

This is already part of the following patch, in a set doing much more cleanup:
http://patchwork.ozlabs.org/patch/471954/

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

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.