From: Thierry Reding Date: Fri, 9 Oct 2015 13:46:18 +0000 (+0200) Subject: soc: rockchip: Restrict to ARCH_ROCKCHIP X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0cc598915fc787193ddb7401a11f80c17ccbabe4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git soc: rockchip: Restrict to ARCH_ROCKCHIP By definition this directory contains drivers that are specific to the Rockchip architecture. All Kconfig options should therefore depend on ARCH_ROCKCHIP to avoid exposing these symbols on other architectures. For example, this options currently shows up as new when doing an incremental build on PowerPC. Signed-off-by: Thierry Reding [add COMPILE_TEST alternative condition] Signed-off-by: Heiko Stuebner --- diff --git a/drivers/soc/rockchip/Kconfig b/drivers/soc/rockchip/Kconfig index 6ee03994801c..7140ff825598 100644 --- a/drivers/soc/rockchip/Kconfig +++ b/drivers/soc/rockchip/Kconfig @@ -1,3 +1,5 @@ +if ARCH_ROCKCHIP || COMPILE_TEST + # # Rockchip Soc drivers # @@ -12,3 +14,5 @@ config ROCKCHIP_PM_DOMAINS mode. The RK3288 PMU is dedicated for managing the power of the whole chip. If unsure, say N. + +endif