From: Viresh Kumar Date: Fri, 30 Jun 2023 06:05:41 +0000 (+0530) Subject: cpufreq: Make CONFIG_CPUFREQ_DT_PLATDEV depend on OF X-Git-Tag: v6.5-rc1~57^2^2~1 X-Git-Url: https://repo.jachan.dev/linux.git/commitdiff_plain/0b76cc3e9081216918d5e7e907cf9efc7a5fa7db cpufreq: Make CONFIG_CPUFREQ_DT_PLATDEV depend on OF The cpufreq-dt-platform.c driver requires CONFIG_OF to be selected. Mark it as a dependency. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202306250025.savpMM8L-lkp@intel.com/ Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 1dfa147edba2..f429b9b37b76 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -219,6 +219,7 @@ config CPUFREQ_DT config CPUFREQ_DT_PLATDEV tristate "Generic DT based cpufreq platdev driver" + depends on OF help This adds a generic DT based cpufreq platdev driver for frequency management. This creates a 'cpufreq-dt' platform device, on the