arm: Prevent redefinition error in fsl-layerscape
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 16 Jul 2018 20:33:51 +0000 (15:33 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:21 +0000 (14:08 -0500)
commit9cce5663218ed35262b66c132cd65f42d27c7825
treee455bc89a3eaf50b4a5568a5a00cdb6b1480c9a2
parent3ab75cf76e78d2ce729896625504cdfff1d3d8a5
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 <joe.hershberger@ni.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c