MT29F NAND flash driver: add block erase function.
[bertos.git] / bertos / cpu / cortex-m3 / drv / rtc_stm32.c
index 76aae3dd133f6fc623b4051bcd4cc62736c203b3..4110fd09e6dd3df46f6e6e104bb17b71387e419f 100644 (file)
@@ -38,6 +38,7 @@
 #include "clock_stm32.h"
 
 #include <cfg/compiler.h>
+#include <cfg/module.h>
 #include <cfg/debug.h>
 
 #include <io/stm32.h>
@@ -118,6 +119,9 @@ void rtc_setTime(uint32_t val)
 /* Initialize the RTC clock */
 int rtc_init(void)
 {
+#if CONFIG_KERN
+       MOD_CHECK(proc);
+#endif
        /* Enable clock for Power interface */
        RCC->APB1ENR |= RCC_APB1_PWR;