summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/Kconfig
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2019-12-12 03:20:30 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2019-12-30 01:59:06 +0100
commiteff5d31f7407fa9d31fb840106f1593399457298 (patch)
treed3d5e4df38e66d64b6155630cad00342af0e7625 /drivers/devfreq/Kconfig
parentPM / devfreq: rockchip-dfi: Convert to devm_platform_ioremap_resource (diff)
downloadlinux-eff5d31f7407fa9d31fb840106f1593399457298.tar.xz
linux-eff5d31f7407fa9d31fb840106f1593399457298.zip
PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency
To build test, add COMPILE_TEST depedency to both ARM_RK3399_DMC_DEVFREQ and DEVFREQ_EVENT_ROCKCHIP_DFI configuration. And ARM_RK3399_DMC_DEVFREQ used the SMCCC interface so that add HAVE_ARM_SMCCC dependency to prevent the build break. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/devfreq/Kconfig')
-rw-r--r--drivers/devfreq/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig
index 8485f948caeb..1526f758daeb 100644
--- a/drivers/devfreq/Kconfig
+++ b/drivers/devfreq/Kconfig
@@ -125,7 +125,8 @@ config ARM_TEGRA20_DEVFREQ
config ARM_RK3399_DMC_DEVFREQ
tristate "ARM RK3399 DMC DEVFREQ Driver"
- depends on ARCH_ROCKCHIP
+ depends on (ARCH_ROCKCHIP && HAVE_ARM_SMCCC) || \
+ (COMPILE_TEST && HAVE_ARM_SMCCC)
select DEVFREQ_EVENT_ROCKCHIP_DFI
select DEVFREQ_GOV_SIMPLE_ONDEMAND
select PM_DEVFREQ_EVENT