Skip to content

Commit 0b76cc3

Browse files
vireshkrafaeljw
authored andcommitted
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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202306250025.savpMM8L-lkp@intel.com/ Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 813ce98 commit 0b76cc3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/cpufreq/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ config CPUFREQ_DT
219219

220220
config CPUFREQ_DT_PLATDEV
221221
tristate "Generic DT based cpufreq platdev driver"
222+
depends on OF
222223
help
223224
This adds a generic DT based cpufreq platdev driver for frequency
224225
management. This creates a 'cpufreq-dt' platform device, on the

0 commit comments

Comments
 (0)