]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef SUN3X_TIME_H |
3 | #define SUN3X_TIME_H | |
4 | ||
5 | extern int sun3x_hwclk(int set, struct rtc_time *t); | |
c8d5ba18 | 6 | u32 sun3x_gettimeoffset(void); |
40220c1a | 7 | void sun3x_sched_init(irq_handler_t vector); |
1da177e4 LT |
8 | |
9 | struct mostek_dt { | |
10 | volatile unsigned char csr; | |
11 | volatile unsigned char sec; | |
12 | volatile unsigned char min; | |
13 | volatile unsigned char hour; | |
14 | volatile unsigned char wday; | |
15 | volatile unsigned char mday; | |
16 | volatile unsigned char month; | |
17 | volatile unsigned char year; | |
18 | }; | |
19 | ||
20 | #endif |