浏览代码

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>
Thierry Reding 10 年之前
父节点
当前提交
0cc598915f
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      drivers/soc/rockchip/Kconfig

+ 4 - 0
drivers/soc/rockchip/Kconfig

@@ -1,3 +1,5 @@
+if ARCH_ROCKCHIP || COMPILE_TEST
+
 #
 #
 # Rockchip Soc drivers
 # 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.
           mode. The RK3288 PMU is dedicated for managing the power of the whole chip.
 
 
           If unsure, say N.
           If unsure, say N.
+
+endif