提交 b4f75d1e 编写于 作者: M michael

bsp:ls2k:make rtc driver to adapter Kconfig

rtc driver can not configured through Kconfig
上级 3ce53f9c
......@@ -17,6 +17,8 @@
#include <rtthread.h>
#include "ls2k1000.h"
#ifdef RT_USING_RTC
struct loongson_rtc {
rt_uint32_t sys_toytrim;
rt_uint32_t sys_toywrite0;
......@@ -176,3 +178,5 @@ int rt_hw_rtc_init(void)
}
INIT_DEVICE_EXPORT(rt_hw_rtc_init);
#endif /*RT_USING_RTC*/
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册