diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/rtc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/i386/i386at/rtc.c b/i386/i386at/rtc.c index 946f08f..01e0977 100644 --- a/i386/i386at/rtc.c +++ b/i386/i386at/rtc.c @@ -66,8 +66,9 @@ rtcinit(void) int -rtcget(unsigned char *regs) +rtcget(struct rtc_st *st) { + unsigned char *regs = (unsigned char *)st; if (first_rtcopen_ever) { rtcinit(); first_rtcopen_ever = FALSE; @@ -82,8 +83,9 @@ rtcget(unsigned char *regs) } void -rtcput(unsigned char *regs) +rtcput(struct rtc_st *st) { + unsigned char *regs = (unsigned char *)st; unsigned char x; if (first_rtcopen_ever) { |