patch-2.1.91 linux/arch/m68k/atari/time.c

Next file: linux/arch/m68k/config.in
Previous file: linux/arch/m68k/atari/atari_ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.90/linux/arch/m68k/atari/time.c linux/arch/m68k/atari/time.c
@@ -83,14 +83,14 @@
 
 #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)
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov