summaryrefslogtreecommitdiff
path: root/include/phy.h
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/phy.h
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 'include/phy.h')
-rw-r--r--include/phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h
index 6ace9b3a0c..42cfc59ec0 100644
--- a/include/phy.h
+++ b/include/phy.h
@@ -10,6 +10,7 @@
#define _PHY_H
#include <dm.h>
+#include <linux/errno.h>
#include <linux/list.h>
#include <linux/mii.h>
#include <linux/ethtool.h>