summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-01-03 21:55:24 +0100
committerRob Herring <rob.herring@calxeda.com>2012-01-26 03:37:45 +0100
commitbd8abc9a32c9b7b8179e701699141566dd8f7eb8 (patch)
treeb8ba4456b2090c6ed70c9622234e99b27eeac843 /arch
parentARM: remove mc146818rtc.h from time.c (diff)
downloadlinux-bd8abc9a32c9b7b8179e701699141566dd8f7eb8.tar.xz
linux-bd8abc9a32c9b7b8179e701699141566dd8f7eb8.zip
ARM: mc146818rtc: remove unnecessary include of mach/irqs.h
The include of mach/irqs.h isn't needed, so remove it. Compiled CMOS rtc driver. Add a check to make sure nothing depends on RTC_IRQ. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/mc146818rtc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mc146818rtc.h b/arch/arm/include/asm/mc146818rtc.h
index 6b884d2b0b69..e8567bb99dfc 100644
--- a/arch/arm/include/asm/mc146818rtc.h
+++ b/arch/arm/include/asm/mc146818rtc.h
@@ -5,7 +5,9 @@
#define _ASM_MC146818RTC_H
#include <linux/io.h>
-#include <mach/irqs.h>
+#include <linux/kernel.h>
+
+#define RTC_IRQ BUILD_BUG_ON(1)
#ifndef RTC_PORT
#define RTC_PORT(x) (0x70 + (x))