From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Date: Fri, 20 Jan 2012 20:33:02 +0000 Subject: [PATCH v2 04/13] ARM: mc146818rtc: remove unnecessary include of mach/irqs.h Message-Id: <1327091591-27125-5-git-send-email-robherring2@gmail.com> List-Id: References: <1327091591-27125-1-git-send-email-robherring2@gmail.com> In-Reply-To: <1327091591-27125-1-git-send-email-robherring2@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org From: Rob Herring 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 --- arch/arm/include/asm/mc146818rtc.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/mc146818rtc.h b/arch/arm/include/asm/mc146818rtc.h index 6b884d2..e8567bb 100644 --- a/arch/arm/include/asm/mc146818rtc.h +++ b/arch/arm/include/asm/mc146818rtc.h @@ -5,7 +5,9 @@ #define _ASM_MC146818RTC_H #include -#include +#include + +#define RTC_IRQ BUILD_BUG_ON(1) #ifndef RTC_PORT #define RTC_PORT(x) (0x70 + (x)) -- 1.7.5.4