Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

unicore32: Remove ARCH_HAS_CPUFREQ config option

This config exists entirely to hide the cpufreq menu from the
kernel configuration unless a platform has selected it. Nothing
is actually built if this config is 'Y' and it just leads to more
patches that add a select under a platform Kconfig so that some
other CPUfreq option can be chosen. Let's remove the option so
that we can always enable CPUfreq drivers on unicore32 platforms.

Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>

authored by

Stephen Boyd and committed by
Guan Xuetao
d670878e ceebf4d5

-6
-6
arch/unicore32/Kconfig
··· 51 51 config ARCH_HAS_ILOG2_U64 52 52 bool 53 53 54 - config ARCH_HAS_CPUFREQ 55 - bool 56 - 57 54 config GENERIC_HWEIGHT 58 55 def_bool y 59 56 ··· 84 87 select GENERIC_CLOCKEVENTS 85 88 select HAVE_CLK 86 89 select ARCH_REQUIRE_GPIOLIB 87 - select ARCH_HAS_CPUFREQ 88 90 89 91 # CONFIGs for ARCH_PUV3 90 92 ··· 194 198 195 199 source "kernel/power/Kconfig" 196 200 197 - if ARCH_HAS_CPUFREQ 198 201 source "drivers/cpufreq/Kconfig" 199 - endif 200 202 201 203 config ARCH_SUSPEND_POSSIBLE 202 204 def_bool y if !ARCH_FPGA