Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd8abc9a authored by Rob Herring's avatar Rob Herring
Browse files

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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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))