Re: [PATCH] Make Common clock framework a menuconfig to ease disabling it all

From: Stephen Boyd
Date: Wed Jul 05 2017 - 17:15:36 EST


On 07/02, Vincent Legoll wrote:
> No need to get into the submenu to disable all common clock framework
> -related config entries
>
> Signed-off-by: Vincent Legoll <vincent.legoll@xxxxxxxxx>
> ---
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index 36cfea3..a1b174c 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -19,9 +19,12 @@ config COMMON_CLK
> Architectures utilizing the common struct clk should select
> this option.
>
> -menu "Common Clock Framework"
> +menuconfig COMMON_CLK_FRAMEWORK
> + tristate "Common Clock Framework"
> depends on COMMON_CLK

Wouldn't this put the clk drivers inside the drivers menu? Which
is already quite large right now. Plus this makes common clk
tristate which so far we haven't supported. No thanks.

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project