From: Rob Herring <rob.herring@calxeda.com>
Date: Tue, 3 Jan 2012 20:55:24 +0000 (-0600)
Subject: ARM: mc146818rtc: remove unnecessary include of mach/irqs.h
X-Git-Tag: firefly_0821_release~3680^2~3197^2^2~3^2~9
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bd8abc9a32c9b7b8179e701699141566dd8f7eb8;p=firefly-linux-kernel-4.4.55.git

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

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