repo.or.cz
/
davej-history.git
/
blobdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
inline
|
side by side
Import 2.3.18pre1
[davej-history.git]
/
drivers
/
sbus
/
char
/
rtc.c
diff --git
a/drivers/sbus/char/rtc.c
b/drivers/sbus/char/rtc.c
index
e499ca8
..
2a6f862
100644
(file)
--- a/
drivers/sbus/char/rtc.c
+++ b/
drivers/sbus/char/rtc.c
@@
-1,4
+1,4
@@
-/* $Id: rtc.c,v 1.1
7 1999/08/31 13:32:01 anton
Exp $
+/* $Id: rtc.c,v 1.1
8 1999/08/31 18:51:36 davem
Exp $
*
* Linux/SPARC Real Time Clock Driver
* Copyright (C) 1996 Thomas K. Dyas (tdyas@eden.rutgers.edu)
*
* Linux/SPARC Real Time Clock Driver
* Copyright (C) 1996 Thomas K. Dyas (tdyas@eden.rutgers.edu)
@@
-29,7
+29,7
@@
static int rtc_busy = 0;
/* Retrieve the current date and time from the real time clock. */
void get_rtc_time(struct rtc_time *t)
{
/* Retrieve the current date and time from the real time clock. */
void get_rtc_time(struct rtc_time *t)
{
-
struct mostek48t02 *regs = (struct mostek48t02 *)
mstk48t02_regs;
+
unsigned long regs =
mstk48t02_regs;
unsigned long flags;
u8 tmp;
unsigned long flags;
u8 tmp;
@@
-57,7
+57,7
@@
void get_rtc_time(struct rtc_time *t)
/* Set the current date and time inthe real time clock. */
void set_rtc_time(struct rtc_time *t)
{
/* Set the current date and time inthe real time clock. */
void set_rtc_time(struct rtc_time *t)
{
-
struct mostek48t02 *regs = (struct mostek48t02 *)
mstk48t02_regs;
+
unsigned long regs =
mstk48t02_regs;
unsigned long flags;
u8 tmp;
unsigned long flags;
u8 tmp;