soc: mmp: guard include of asm/cputype.h with CONFIG_ARM{,64}
authorOlof Johansson <olof@lixom.net>
Tue, 22 Oct 2019 01:52:24 +0000 (18:52 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 22 Oct 2019 02:13:56 +0000 (19:13 -0700)
commita362687404edc5d73a4fc281af3b2b1542ef194e
tree4c0dd0be07a711b7e75dccd2100b7ea73ee23549
parentd0862daf0f546a66acd8958469c639399532483c
soc: mmp: guard include of asm/cputype.h with CONFIG_ARM{,64}

Since this driver is enabled for COMPILE_TEST, it avoids build error
on x86 allmodconfig:

In file included from /build/drivers/phy/marvell/phy-mmp3-usb.c:12:
/build/include/linux/soc/mmp/cputype.h:5:10: fatal error: asm/cputype.h: No such file or directory

Link: https://lore.kernel.org/r/20191022015658.14624-1-olof@lixom.net
Signed-off-by: Olof Johansson <olof@lixom.net>
include/linux/soc/mmp/cputype.h