mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-27 05:10:51 +07:00
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>
This commit is contained in:
parent
ba3e88acfb
commit
bd8abc9a32
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user