summaryrefslogtreecommitdiff
path: root/include/dm
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 /include/dm
parent336d4615f8fa774557d14f9b3245daa9e5fe3dbc (diff)
downloadu-boot-f217651575f30256955f22a1691115a70e7f5934.tar.gz
u-boot-f217651575f30256955f22a1691115a70e7f5934.tar.bz2
u-boot-f217651575f30256955f22a1691115a70e7f5934.zip
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 'include/dm')
-rw-r--r--include/dm/device.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index 544da27e61..ab806d0b7e 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -14,7 +14,6 @@
#include <dm/uclass-id.h>
#include <fdtdec.h>
#include <linker_lists.h>
-#include <linux/compat.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/printk.h>