]> www.infradead.org Git - users/hch/misc.git/commitdiff
cpufreq: Move endif to the end of Kconfig file
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 10 Jan 2025 05:53:10 +0000 (11:23 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Jan 2025 19:54:04 +0000 (20:54 +0100)
It is possible to enable few cpufreq drivers, without the framework
being enabled. This happened due to a bug while moving the entries
earlier. Fix it.

Fixes: 7ee1378736f0 ("cpufreq: Move CPPC configs to common Kconfig and add RISC-V")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://patch.msgid.link/84ac7a8fa72a8fe20487bb0a350a758bce060965.1736488384.git.viresh.kumar@linaro.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Kconfig

index 92a83a9bb2e10540e9e469df69d77ba39147cbca..26e98fea991ae08b2ff8dde4304c9db02db0767e 100644 (file)
@@ -325,8 +325,6 @@ config QORIQ_CPUFREQ
          This adds the CPUFreq driver support for Freescale QorIQ SoCs
          which are capable of changing the CPU's frequency dynamically.
 
-endif
-
 config ACPI_CPPC_CPUFREQ
        tristate "CPUFreq driver based on the ACPI CPPC spec"
        depends on ACPI_PROCESSOR
@@ -355,4 +353,6 @@ config ACPI_CPPC_CPUFREQ_FIE
 
          If in doubt, say N.
 
+endif
+
 endmenu