aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/m68k/include/asm/mc146818rtc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/m68k/include/asm/mc146818rtc.h b/arch/m68k/include/asm/mc146818rtc.h
index 9f70a01f73dc..05b43bf5cdf3 100644
--- a/arch/m68k/include/asm/mc146818rtc.h
+++ b/arch/m68k/include/asm/mc146818rtc.h
@@ -10,16 +10,16 @@
10 10
11#include <asm/atarihw.h> 11#include <asm/atarihw.h>
12 12
13#define RTC_PORT(x) (TT_RTC_BAS + 2*(x)) 13#define ATARI_RTC_PORT(x) (TT_RTC_BAS + 2*(x))
14#define RTC_ALWAYS_BCD 0 14#define RTC_ALWAYS_BCD 0
15 15
16#define CMOS_READ(addr) ({ \ 16#define CMOS_READ(addr) ({ \
17atari_outb_p((addr),RTC_PORT(0)); \ 17atari_outb_p((addr), ATARI_RTC_PORT(0)); \
18atari_inb_p(RTC_PORT(1)); \ 18atari_inb_p(ATARI_RTC_PORT(1)); \
19}) 19})
20#define CMOS_WRITE(val, addr) ({ \ 20#define CMOS_WRITE(val, addr) ({ \
21atari_outb_p((addr),RTC_PORT(0)); \ 21atari_outb_p((addr), ATARI_RTC_PORT(0)); \
22atari_outb_p((val),RTC_PORT(1)); \ 22atari_outb_p((val), ATARI_RTC_PORT(1)); \
23}) 23})
24#endif /* CONFIG_ATARI */ 24#endif /* CONFIG_ATARI */
25 25