diff options
Diffstat (limited to 'drivers/devfreq/Kconfig')
-rw-r--r-- | drivers/devfreq/Kconfig | 3 |
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 |