summaryrefslogtreecommitdiffstats
path: root/arch/m68k/atari/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/atari/time.c')
-rw-r--r--arch/m68k/atari/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/atari/time.c b/arch/m68k/atari/time.c
index 1e81eb18e..8a3921c8d 100644
--- a/arch/m68k/atari/time.c
+++ b/arch/m68k/atari/time.c
@@ -83,14 +83,14 @@ static void mste_write(struct MSTE_RTC *val)
#define RTC_READ(reg) \
({ unsigned char __val; \
- outb(reg,&tt_rtc.regsel); \
+ writeb(reg,&tt_rtc.regsel); \
__val = tt_rtc.data; \
__val; \
})
#define RTC_WRITE(reg,val) \
do { \
- outb(reg,&tt_rtc.regsel); \
+ writeb(reg,&tt_rtc.regsel); \
tt_rtc.data = (val); \
} while(0)