summaryrefslogtreecommitdiff
path: root/drivers/ram/stm32_sdram.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ram/stm32_sdram.c')
-rw-r--r--drivers/ram/stm32_sdram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ram/stm32_sdram.c b/drivers/ram/stm32_sdram.c
index f6cac8eb90..2d03333b1b 100644
--- a/drivers/ram/stm32_sdram.c
+++ b/drivers/ram/stm32_sdram.c
@@ -9,6 +9,7 @@
#include <dm.h>
#include <ram.h>
#include <asm/io.h>
+#include <dm/device_compat.h>
#define MEM_MODE_MASK GENMASK(2, 0)
#define SWP_FMC_OFFSET 10