aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-10-09 09:46:18 -0400
committerHeiko Stuebner <heiko@sntech.de>2015-10-11 05:58:08 -0400
commit0cc598915fc787193ddb7401a11f80c17ccbabe4 (patch)
tree9428dbc1ab3a56a9182df417376514909e642d4b /drivers/soc
parent7c696693a4f54d12714738b45aee3e4302884ade (diff)
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 <treding@nvidia.com> [add COMPILE_TEST alternative condition] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/rockchip/Kconfig4
1 files changed, 4 insertions, 0 deletions
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 @@
1if ARCH_ROCKCHIP || COMPILE_TEST
2
1# 3#
2# Rockchip Soc drivers 4# Rockchip Soc drivers
3# 5#
@@ -12,3 +14,5 @@ config ROCKCHIP_PM_DOMAINS
12 mode. The RK3288 PMU is dedicated for managing the power of the whole chip. 14 mode. The RK3288 PMU is dedicated for managing the power of the whole chip.
13 15
14 If unsure, say N. 16 If unsure, say N.
17
18endif