summaryrefslogtreecommitdiff
path: root/drivers/rtc/stm32_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/stm32_rtc.c')
-rw-r--r--drivers/rtc/stm32_rtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/stm32_rtc.c b/drivers/rtc/stm32_rtc.c
index 2674714442..3e12f57ce0 100644
--- a/drivers/rtc/stm32_rtc.c
+++ b/drivers/rtc/stm32_rtc.c
@@ -5,8 +5,10 @@
#include <common.h>
#include <clk.h>
#include <dm.h>
+#include <malloc.h>
#include <rtc.h>
#include <asm/io.h>
+#include <dm/device_compat.h>
#include <linux/iopoll.h>
#define STM32_RTC_TR 0x00