mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] clk: qcom: camcc-sm6350: Make camcc_sm6350_hws static
@ 2023-01-07 12:04 Konrad Dybcio
  2023-01-11 19:22 ` Stephen Boyd
  2023-01-11 19:49 ` Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Konrad Dybcio @ 2023-01-07 12:04 UTC (permalink / raw)
  To: linux-arm-msm, andersson, agross, krzysztof.kozlowski
  Cc: marijn.suijten, Konrad Dybcio, kernel test robot,
	Michael Turquette, Stephen Boyd, linux-clk, linux-kernel

There's no reason for it not to be static, and some compilers don't
like not it being that way. Make it so.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 80f5451d9a7c ("clk: qcom: Add camera clock controller driver for SM6350")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 drivers/clk/qcom/camcc-sm6350.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/qcom/camcc-sm6350.c b/drivers/clk/qcom/camcc-sm6350.c
index ea8600530046..acba9f99d960 100644
--- a/drivers/clk/qcom/camcc-sm6350.c
+++ b/drivers/clk/qcom/camcc-sm6350.c
@@ -1742,7 +1742,7 @@ static struct gdsc titan_top_gdsc = {
 	.pwrsts = PWRSTS_OFF_ON,
 };
 
-struct clk_hw *camcc_sm6350_hws[] = {
+static struct clk_hw *camcc_sm6350_hws[] = {
 	[CAMCC_PLL2_OUT_EARLY] = &camcc_pll2_out_early.hw,
 };
 
-- 
2.39.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: qcom: camcc-sm6350: Make camcc_sm6350_hws static
  2023-01-07 12:04 [PATCH] clk: qcom: camcc-sm6350: Make camcc_sm6350_hws static Konrad Dybcio
@ 2023-01-11 19:22 ` Stephen Boyd
  2023-01-11 19:49 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2023-01-11 19:22 UTC (permalink / raw)
  To: Konrad Dybcio, agross, andersson, krzysztof.kozlowski, linux-arm-msm
  Cc: marijn.suijten, Konrad Dybcio, kernel test robot,
	Michael Turquette, linux-clk, linux-kernel

Quoting Konrad Dybcio (2023-01-07 04:04:34)
> There's no reason for it not to be static, and some compilers don't
> like not it being that way. Make it so.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: 80f5451d9a7c ("clk: qcom: Add camera clock controller driver for SM6350")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: qcom: camcc-sm6350: Make camcc_sm6350_hws static
  2023-01-07 12:04 [PATCH] clk: qcom: camcc-sm6350: Make camcc_sm6350_hws static Konrad Dybcio
  2023-01-11 19:22 ` Stephen Boyd
@ 2023-01-11 19:49 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-01-11 19:49 UTC (permalink / raw)
  To: agross, krzysztof.kozlowski, konrad.dybcio, linux-arm-msm
  Cc: linux-kernel, marijn.suijten, sboyd, lkp, linux-clk, mturquette

On Sat, 7 Jan 2023 13:04:34 +0100, Konrad Dybcio wrote:
> There's no reason for it not to be static, and some compilers don't
> like not it being that way. Make it so.
> 
> 

Applied, thanks!

[1/1] clk: qcom: camcc-sm6350: Make camcc_sm6350_hws static
      commit: bfc7486991c2b1b514cee90854af0f90c56b6bf2

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-11 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-07 12:04 [PATCH] clk: qcom: camcc-sm6350: Make camcc_sm6350_hws static Konrad Dybcio
2023-01-11 19:22 ` Stephen Boyd
2023-01-11 19:49 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®