Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ALPHA_RTC_H |
| 2 | #define _ALPHA_RTC_H |
| 3 | |
Ivan Kokshaysky | 5f7dc5d | 2009-01-15 13:51:19 -0800 | [diff] [blame] | 4 | #if defined(CONFIG_ALPHA_GENERIC) |
| 5 | # define get_rtc_time alpha_mv.rtc_get_time |
| 6 | # define set_rtc_time alpha_mv.rtc_set_time |
| 7 | #else |
| 8 | # if defined(CONFIG_ALPHA_MARVEL) && defined(CONFIG_SMP) |
| 9 | # define get_rtc_time marvel_get_rtc_time |
| 10 | # define set_rtc_time marvel_set_rtc_time |
| 11 | # endif |
| 12 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
| 14 | #include <asm-generic/rtc.h> |
| 15 | |
| 16 | #endif |