]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
soc: rockchip: Restrict to ARCH_ROCKCHIP
authorThierry Reding <treding@nvidia.com>
Fri, 9 Oct 2015 13:46:18 +0000 (15:46 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 11 Oct 2015 09:58:08 +0000 (11:58 +0200)
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 <treding@nvidia.com>
[add COMPILE_TEST alternative condition]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/soc/rockchip/Kconfig

index 6ee03994801c004f7583a6f43cda2b08943af5bc..7140ff8255987bb458a8c00d86eb2001cbb3d488 100644 (file)
@@ -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