Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef SUN3X_TIME_H |
| 3 | #define SUN3X_TIME_H |
| 4 | |
| 5 | extern int sun3x_hwclk(int set, struct rtc_time *t); |
Arnd Bergmann | f9a0153 | 2020-09-24 17:29:17 +0200 | [diff] [blame] | 6 | void sun3x_sched_init(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |