diff mbox series

clk: qcom: sm8250 gcc depends on QCOM_GDSC

Message ID 20200523040947.31946-1-jonathan@marek.ca
State New
Headers show
Series clk: qcom: sm8250 gcc depends on QCOM_GDSC | expand

Commit Message

Jonathan Marek May 23, 2020, 4:09 a.m. UTC
The driver will always fail to probe without QCOM_GDSC, so select it.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
---
 drivers/clk/qcom/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bjorn Andersson May 23, 2020, 5:38 a.m. UTC | #1
On Fri 22 May 21:09 PDT 2020, Jonathan Marek wrote:

> The driver will always fail to probe without QCOM_GDSC, so select it.
> 

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

> Signed-off-by: Jonathan Marek <jonathan@marek.ca>
> ---
>  drivers/clk/qcom/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
> index 5df110be52c1..59dc0bdafad4 100644
> --- a/drivers/clk/qcom/Kconfig
> +++ b/drivers/clk/qcom/Kconfig
> @@ -378,6 +378,7 @@ config SM_GCC_8150
>  
>  config SM_GCC_8250
>  	tristate "SM8250 Global Clock Controller"
> +	select QCOM_GDSC
>  	help
>  	  Support for the global clock controller on SM8250 devices.
>  	  Say Y if you want to use peripheral devices such as UART,
> -- 
> 2.26.1
>
Stephen Boyd May 26, 2020, 11:27 p.m. UTC | #2
Quoting Jonathan Marek (2020-05-22 21:09:47)
> The driver will always fail to probe without QCOM_GDSC, so select it.
> 
> Signed-off-by: Jonathan Marek <jonathan@marek.ca>
> ---

Applied to clk-fixes
diff mbox series

Patch

diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index 5df110be52c1..59dc0bdafad4 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -378,6 +378,7 @@  config SM_GCC_8150
 
 config SM_GCC_8250
 	tristate "SM8250 Global Clock Controller"
+	select QCOM_GDSC
 	help
 	  Support for the global clock controller on SM8250 devices.
 	  Say Y if you want to use peripheral devices such as UART,