summaryrefslogtreecommitdiff
path: root/drivers/timer/dw-apb-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/timer/dw-apb-timer.c')
-rw-r--r--drivers/timer/dw-apb-timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/timer/dw-apb-timer.c b/drivers/timer/dw-apb-timer.c
index fad22be8c9..35271b20c8 100644
--- a/drivers/timer/dw-apb-timer.c
+++ b/drivers/timer/dw-apb-timer.c
@@ -8,8 +8,10 @@
#include <common.h>
#include <dm.h>
#include <clk.h>
+#include <malloc.h>
#include <reset.h>
#include <timer.h>
+#include <dm/device_compat.h>
#include <asm/io.h>
#include <asm/arch/timer.h>