summaryrefslogtreecommitdiff
path: root/drivers/ram
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 07:36:17 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 21:48:22 -0700
commitf217651575f30256955f22a1691115a70e7f5934 (patch)
tree422f580407bce71672737bd358723f47be495a22 /drivers/ram
parent336d4615f8fa774557d14f9b3245daa9e5fe3dbc (diff)
dm: core: Drop the inclusion of linux/compat.h in dm.h
Most files don't need this header and it pulls in quite of lots of stuff, malloc() in particular. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ram')
-rw-r--r--drivers/ram/imxrt_sdram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ram/imxrt_sdram.c b/drivers/ram/imxrt_sdram.c
index af7400be82..ac15e94f00 100644
--- a/drivers/ram/imxrt_sdram.c
+++ b/drivers/ram/imxrt_sdram.c
@@ -9,6 +9,7 @@
#include <dm.h>
#include <ram.h>
#include <asm/io.h>
+#include <linux/err.h>
/* SDRAM Command Code */
#define SD_CC_ARD 0x0 /* Master Bus (AXI) command - Read */