cpufreq: dt-platdev: Support building as module
authorZhipeng Wang <zhipeng.wang_1@nxp.com>
Wed, 24 May 2023 15:34:16 +0000 (15:34 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 5 Jun 2023 11:03:05 +0000 (16:33 +0530)
commit3b062a086984d35a3c6d3a1c7841d0aa73aa76af
treec8df71e71ceed65fe4a84ac7b202ac887fd47714
parentb79ead08a7d995262aa2e7f676c93e0263fc3be1
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>
drivers/cpufreq/Kconfig
drivers/cpufreq/cpufreq-dt-platdev.c