mirror of https://gitee.com/openkylin/linux.git
17 lines
371 B
C
17 lines
371 B
C
#ifndef _ALPHA_RTC_H
|
|
#define _ALPHA_RTC_H
|
|
|
|
#if defined(CONFIG_ALPHA_GENERIC)
|
|
# define get_rtc_time alpha_mv.rtc_get_time
|
|
# define set_rtc_time alpha_mv.rtc_set_time
|
|
#else
|
|
# if defined(CONFIG_ALPHA_MARVEL) && defined(CONFIG_SMP)
|
|
# define get_rtc_time marvel_get_rtc_time
|
|
# define set_rtc_time marvel_set_rtc_time
|
|
# endif
|
|
#endif
|
|
|
|
#include <asm-generic/rtc.h>
|
|
|
|
#endif
|