projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: core: Create a new header file for 'compat' features
[oweals/u-boot.git]
/
drivers
/
rtc
/
stm32_rtc.c
diff --git
a/drivers/rtc/stm32_rtc.c
b/drivers/rtc/stm32_rtc.c
index 26747144425fcae995016a85cb424be913bac704..3e12f57ce0b7ba819f5ce1bb8edd635ee282ba4c 100644
(file)
--- 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