diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index 7bd9c1726273..0a42d05df86f 100644 --- a/drivers/cpufreq/cpufreq-dt.c +++ b/drivers/cpufreq/cpufreq-dt.c @@ -160,7 +160,7 @@ out_clk_put: static int cpufreq_online(struct cpufreq_policy *policy) { -#ifdef CONFIG_ARCH_ROCKCHIP +#ifdef CONFIG_ARM_ROCKCHIP_CPUFREQ return rockchip_cpufreq_online(policy->cpu); #endif /* We did light-weight tear down earlier, nothing to do here */ @@ -169,7 +169,7 @@ static int cpufreq_online(struct cpufreq_policy *policy) static int cpufreq_offline(struct cpufreq_policy *policy) { -#ifdef CONFIG_ARCH_ROCKCHIP +#ifdef CONFIG_ARM_ROCKCHIP_CPUFREQ return rockchip_cpufreq_offline(policy->cpu); #endif /*