[PATCH 1/3] arm: fsl-layerscape: Include device_compat.h in soc.c

Tom Rini trini at konsulko.com
Fri Oct 16 14:42:44 CEST 2020


Necessary for dev_xxx.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/arm/cpu/armv8/fsl-layerscape/soc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
index ba42c185c47d..96b2775f3f98 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
@@ -37,6 +37,7 @@
 #include <env_internal.h>
 #endif
 #include <dm.h>
+#include <dm/device_compat.h>
 #include <linux/err.h>
 #if defined(CONFIG_TFABOOT) || defined(CONFIG_GIC_V3_ITS)
 DECLARE_GLOBAL_DATA_PTR;
-- 
2.17.1



More information about the U-Boot mailing list