Skip to content

Commit

Permalink
ARM: mc146818rtc: remove unnecessary include of mach/irqs.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Herring committed Jan 26, 2012
1 parent ba3e88a commit bd8abc9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/include/asm/mc146818rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit bd8abc9

Please sign in to comment.