diff mbox series

cpufreq: Make CONFIG_CPUFREQ_DT_PLATDEV depend on OF

Message ID 4639e8e00a321e2bbbe4dcbb93e57ca6c10bab51.1688105074.git.viresh.kumar@linaro.org (mailing list archive)
State Mainlined, archived
Headers show
Series cpufreq: Make CONFIG_CPUFREQ_DT_PLATDEV depend on OF | expand

Commit Message

Viresh Kumar June 30, 2023, 6:05 a.m. UTC
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>
---
Rafael,

Please apply this directly for v6.5. Thanks.

 drivers/cpufreq/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Rafael J. Wysocki June 30, 2023, 7:44 a.m. UTC | #1
On Fri, Jun 30, 2023 at 8:05 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> 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>
> ---
> Rafael,
>
> Please apply this directly for v6.5. Thanks.

Done, thanks!

>  drivers/cpufreq/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
> index dda3a78bfd5c..6693d52ac3fa 100644
> --- a/drivers/cpufreq/Kconfig
> +++ b/drivers/cpufreq/Kconfig
> @@ -219,6 +219,7 @@ config CPUFREQ_DT
>
>  config CPUFREQ_DT_PLATDEV
>         tristate "Generic DT based cpufreq platdev driver"
> +       depends on OF
>         help
>           This adds a generic DT based cpufreq platdev driver for frequency
>           management.  This creates a 'cpufreq-dt' platform device, on the
> --
> 2.31.1.272.g89b43f80a514
>
diff mbox series

Patch

diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index dda3a78bfd5c..6693d52ac3fa 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -219,6 +219,7 @@  config CPUFREQ_DT
 
 config CPUFREQ_DT_PLATDEV
 	tristate "Generic DT based cpufreq platdev driver"
+	depends on OF
 	help
 	  This adds a generic DT based cpufreq platdev driver for frequency
 	  management.  This creates a 'cpufreq-dt' platform device, on the