summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/Kconfig
diff options
context:
space:
mode:
authorZhipeng Wang <zhipeng.wang_1@nxp.com>2023-05-24 15:34:16 +0000
committerViresh Kumar <viresh.kumar@linaro.org>2023-06-05 16:33:05 +0530
commit3b062a086984d35a3c6d3a1c7841d0aa73aa76af (patch)
treec8df71e71ceed65fe4a84ac7b202ac887fd47714 /drivers/cpufreq/Kconfig
parentb79ead08a7d995262aa2e7f676c93e0263fc3be1 (diff)
cpufreq: dt-platdev: Support building as module
Make the cpufreq platdev driver as tristate so that it can be built as loadable module. Also add MODULE_LICENSE to support building as module. Signed-off-by: Zhipeng Wang <zhipeng.wang_1@nxp.com> [ Viresh: Merged two commits, included module.h ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/Kconfig')
-rw-r--r--drivers/cpufreq/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 2c839bd2b051..dda3a78bfd5c 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -218,7 +218,7 @@ config CPUFREQ_DT
If in doubt, say N.
config CPUFREQ_DT_PLATDEV
- bool
+ tristate "Generic DT based cpufreq platdev driver"
help
This adds a generic DT based cpufreq platdev driver for frequency
management. This creates a 'cpufreq-dt' platform device, on the