Revert "cpufreq: fix using cpufreq-dt as module"

This reverts commit 9325895e41 which is
commit f1f010c9d9c62c865d9f54e94075800ba764b4d9 upstream.

It breaks the rockpi build target, as it expects it to be a module, and
the change here (autoloading the code), is not an issue as it does work
properly in Android targets and does not need to be built-in all the
time anymore.

Fixes: 9325895e41 ("cpufreq: fix using cpufreq-dt as module")
Change-Id: Ifd5e1e5e4611b2aae4361302e9d1836a360b0add
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2025-02-21 09:26:27 +00:00
committed by Treehugger Robot
parent 48d2eebfc9
commit 9ed62f2ef8
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ config CPUFREQ_VIRT
If in doubt, say N.
config CPUFREQ_DT_PLATDEV
bool "Generic DT based cpufreq platdev driver"
tristate "Generic DT based cpufreq platdev driver"
depends on OF
help
This adds a generic DT based cpufreq platdev driver for frequency
+2
View File
@@ -234,3 +234,5 @@ create_pdev:
sizeof(struct cpufreq_dt_platform_data)));
}
core_initcall(cpufreq_dt_platdev_init);
MODULE_DESCRIPTION("Generic DT based cpufreq platdev driver");
MODULE_LICENSE("GPL");