Commit bd8abc9a authored by Rob Herring's avatar Rob Herring

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: default avatarRob Herring <rob.herring@calxeda.com>
parent ba3e88ac
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
#define _ASM_MC146818RTC_H #define _ASM_MC146818RTC_H
#include <linux/io.h> #include <linux/io.h>
#include <mach/irqs.h> #include <linux/kernel.h>
#define RTC_IRQ BUILD_BUG_ON(1)
#ifndef RTC_PORT #ifndef RTC_PORT
#define RTC_PORT(x) (0x70 + (x)) #define RTC_PORT(x) (0x70 + (x))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment