From: Joe Hershberger Date: Mon, 16 Jul 2018 20:33:51 +0000 (-0500) Subject: arm: Prevent redefinition error in fsl-layerscape X-Git-Tag: v2018.09-rc1~26^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9cce5663218ed35262b66c132cd65f42d27c7825;p=oweals%2Fu-boot.git arm: Prevent redefinition error in fsl-layerscape The include/phy.h will start including dm.h, which pulls in linux/compat.h after the attempted redefinition in arch/arm/include/asm/armv8/mmu.h, so move this include to allow redefinition. Signed-off-by: Joe Hershberger --- diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c index 40c2c3a1cf..052e0708d4 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -18,7 +19,6 @@ #include #include #include -#include #include #ifdef CONFIG_FSL_ESDHC #include