ARM: shmobile: fix build regressions
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Dec 2018 21:00:23 +0000 (22:00 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 7 Jan 2019 12:31:05 +0000 (13:31 +0100)
commit8070ba6348608aa1da15eb83dbaa9ece596aaa67
treedf0a08a7059e29a42f803e7d54452be5987e4ea2
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
ARM: shmobile: fix build regressions

A number of Kconfig options have become available now to random ARM
platforms outside of ARCH_MULTIPLATFORM, which now causes Kconfig
warnings, and other build errors when those select options that
lack additional dependencies, e.g.:

WARNING: unmet direct dependencies detected for HAVE_ARM_ARCH_TIMER
  Depends on [n]: CPU_V7 [=n]
  Selected by [y]:
  - ARCH_RCAR_GEN2 [=y] && SOC_RENESAS [=y]
  - ARCH_R8A73A4 [=y] && SOC_RENESAS [=y] && ARM [=y]

WARNING: unmet direct dependencies detected for SYS_SUPPORTS_EM_STI
  Depends on [n]: GENERIC_CLOCKEVENTS [=n]
  Selected by [y]:
  - ARCH_EMEV2 [=y] && SOC_RENESAS [=y] && ARM [=y]

Put the old dependency on ARCH_RENESAS back for the moment to restore
the previous behavior.

Fixes: 062887bf5ef7 ("ARM: shmobile: Move SoC Kconfig symbols to drivers/soc/renesas/")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/Kconfig