xref: /openbmc/linux/arch/m68k/sun3x/time.h (revision 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2)
1 #ifndef SUN3X_TIME_H
2 #define SUN3X_TIME_H
3 
4 extern int sun3x_hwclk(int set, struct rtc_time *t);
5 unsigned long sun3x_gettimeoffset (void);
6 void sun3x_sched_init(irqreturn_t (*vector)(int, void *, struct pt_regs *));
7 
8 struct mostek_dt {
9 	volatile unsigned char csr;
10 	volatile unsigned char sec;
11 	volatile unsigned char min;
12 	volatile unsigned char hour;
13 	volatile unsigned char wday;
14 	volatile unsigned char mday;
15 	volatile unsigned char month;
16 	volatile unsigned char year;
17 };
18 
19 #endif
20