mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
driver/rtc: add config CONFIG_RTC_RPMSG_SERVER to
N/A select rtc rpmsg role. Change-Id: I7f9053b070593573caa5d988c6a2e13593da6bc5 Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
f082893b9a
commit
73cc1f8884
@@ -41,12 +41,12 @@ extern "C"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTC_RPMSG
|
||||
|
||||
#ifndef CONFIG_RTC_RPMSG_SERVER
|
||||
FAR struct rtc_lowerhalf_s *rpmsg_rtc_initialize(int minor);
|
||||
|
||||
#else
|
||||
FAR struct rtc_lowerhalf_s *rpmsg_rtc_server_initialize(
|
||||
FAR struct rtc_lowerhalf_s *lower);
|
||||
|
||||
#endif /* CONFIG_RTC_RPMSG_SERVER */
|
||||
#endif /* CONFIG_RTC_RPMSG */
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
Reference in New Issue
Block a user