Skip to contentSkip to conversation

clk: qcom: explicitly include clk-provider.h

PATCH Applied Vinod Koul 3 participants 18 messages Dec 15, 2021 – Dec 21, 2021

Subsystems (3)
lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

cover clk: qcom: explicitly include clk-provider.h

As disucssed in [1] it is a good idea to explicitly include clk-provider.h for clk providers, so include this in rest of missing qcom clk providers.

[1]: lore.kernel.org/r/[email protected]

Vinod Koul (8):
clk: qcom: gcc-sm8350: explicitly include clk-provider.h
clk: qcom: gcc-msm8994: explicitly include clk-provider.h
clk: qcom: gcc-sm6350: explicitly include clk-provider.h
clk: qcom: lpasscc-sc7280: explicitly include clk-provider.h
clk: qcom: lpasscc-sdm845: explicitly include clk-provider.h
clk: qcom: mmcc-apq8084: explicitly include clk-provider.h
clk: qcom: q6sstop-qcs404: explicitly include clk-provider.h
clk: qcom: turingcc-qcs404: explicitly include clk-provider.h

 drivers/clk/qcom/gcc-msm8994.c     | 1 +
 drivers/clk/qcom/gcc-sm6350.c      | 1 +
 drivers/clk/qcom/gcc-sm8350.c      | 1 +
 drivers/clk/qcom/lpasscc-sc7280.c  | 1 +
 drivers/clk/qcom/lpasscc-sdm845.c  | 1 +
 drivers/clk/qcom/mmcc-apq8084.c    | 1 +
 drivers/clk/qcom/q6sstop-qcs404.c  | 1 +
 drivers/clk/qcom/turingcc-qcs404.c | 1 +
 8 files changed, 8 insertions(+)
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH 1/8 clk: qcom: gcc-sm8350: explicitly include clk-provider.h

Per Stephen, clk providers need to include clk-provider.h, so include in this driver as well

---
 drivers/clk/qcom/gcc-sm8350.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/gcc-sm8350.c +1 -0
index 6d0a9e2d5104..c3731f96c8e6 100644
@@ -4,6 +4,7 @@
  * Copyright (c) 2020-2021, Linaro Limited
  */
 
+#include <linux/clk-provider.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/regmap.h>
Signature · 1 line
2.31.1
author
#3 lore raw

PATCH 2/8 clk: qcom: gcc-msm8994: explicitly include clk-provider.h

In reply to Vinod Koul

Per Stephen, clk providers need to include clk-provider.h, so include in this driver as well

---
 drivers/clk/qcom/gcc-msm8994.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/gcc-msm8994.c +1 -0
index 702a9bdc0559..71aa630fa4bd 100644
@@ -2,6 +2,7 @@
 /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
  */
 
+#include <linux/clk-provider.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/err.h>
Signature · 1 line
2.31.1
author
#5 lore raw

PATCH 3/8 clk: qcom: gcc-sm6350: explicitly include clk-provider.h

In reply to Vinod Koul

Per Stephen, clk providers need to include clk-provider.h, so include in this driver as well

---
 drivers/clk/qcom/gcc-sm6350.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/gcc-sm6350.c +1 -0
index 3236706771b1..a4f7fba70393 100644
@@ -4,6 +4,7 @@
  * Copyright (c) 2021, Konrad Dybcio <[email protected]>
  */
 
+#include <linux/clk-provider.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/regmap.h>
Signature · 1 line
2.31.1
author
#7 lore raw

PATCH 4/8 clk: qcom: lpasscc-sc7280: explicitly include clk-provider.h

In reply to Vinod Koul

Per Stephen, clk providers need to include clk-provider.h, so include in this driver as well

---
 drivers/clk/qcom/lpasscc-sc7280.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/lpasscc-sc7280.c +1 -0
index 89f1ad6631da..b39ee1c9647b 100644
@@ -3,6 +3,7 @@
  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
  */
 
+#include <linux/clk-provider.h>
 #include <linux/platform_device.h>
 #include <linux/pm_clock.h>
 #include <linux/pm_runtime.h>
Signature · 1 line
2.31.1
author
#9 lore raw

PATCH 5/8 clk: qcom: lpasscc-sdm845: explicitly include clk-provider.h

In reply to Vinod Koul

Per Stephen, clk providers need to include clk-provider.h, so include in this driver as well

---
 drivers/clk/qcom/lpasscc-sdm845.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/lpasscc-sdm845.c +1 -0
index 56d3e9928892..7040da952728 100644
@@ -3,6 +3,7 @@
  * Copyright (c) 2018, The Linux Foundation. All rights reserved.
  */
 
+#include <linux/clk-provider.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>
 #include <linux/of_address.h>
Signature · 1 line
2.31.1
author
#11 lore raw

PATCH 6/8 clk: qcom: mmcc-apq8084: explicitly include clk-provider.h

In reply to Vinod Koul

Per Stephen, clk providers need to include clk-provider.h, so include in this driver as well

---
 drivers/clk/qcom/mmcc-apq8084.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/mmcc-apq8084.c +1 -0
index fbfcf0006739..e9f971359155 100644
@@ -3,6 +3,7 @@
  * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
  */
 
+#include <linux/clk-provider.h>
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>
Signature · 1 line
2.31.1
author
#13 lore raw

PATCH 7/8 clk: qcom: q6sstop-qcs404: explicitly include clk-provider.h

In reply to Vinod Koul

Per Stephen, clk providers need to include clk-provider.h, so include in this driver as well

---
 drivers/clk/qcom/q6sstop-qcs404.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/q6sstop-qcs404.c +1 -0
index 507386bee07d..780074e05841 100644
@@ -4,6 +4,7 @@
  */
 
 #include <linux/bitops.h>
+#include <linux/clk-provider.h>
 #include <linux/err.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
Signature · 1 line
2.31.1
author
#15 lore raw

PATCH 8/8 clk: qcom: turingcc-qcs404: explicitly include clk-provider.h

In reply to Vinod Koul

Per Stephen, clk providers need to include clk-provider.h, so include in this driver as well

---
 drivers/clk/qcom/turingcc-qcs404.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/turingcc-qcs404.c +1 -0
index 4543bda793f4..43184459228f 100644
@@ -4,6 +4,7 @@
  */
 
 #include <linux/bitops.h>
+#include <linux/clk-provider.h>
 #include <linux/err.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>
Signature · 1 line
2.31.1
#17 lore raw
In reply to Vinod Koul
Quoted 16 lines · Vinod Koul

As disucssed in [1] it is a good idea to explicitly include clk-provider.h for clk providers, so include this in rest of missing qcom clk providers.

[1]: lore.kernel.org/r/[email protected]

Vinod Koul (8):
clk: qcom: gcc-sm8350: explicitly include clk-provider.h
clk: qcom: gcc-msm8994: explicitly include clk-provider.h
clk: qcom: gcc-sm6350: explicitly include clk-provider.h
clk: qcom: lpasscc-sc7280: explicitly include clk-provider.h
clk: qcom: lpasscc-sdm845: explicitly include clk-provider.h
clk: qcom: mmcc-apq8084: explicitly include clk-provider.h
clk: qcom: q6sstop-qcs404: explicitly include clk-provider.h
clk: qcom: turingcc-qcs404: explicitly include clk-provider.h

Quoted 1 line

[...]

Applied, thanks!

[1/8] clk: qcom: gcc-sm8350: explicitly include clk-provider.h

      commit: 33aa94fd94d7c1ca1af77f398c194bd82ebc6a98
[2/8] clk: qcom: gcc-msm8994: explicitly include clk-provider.h
      commit: d7a49c8d2c67ab504b3959aafda290018d42b0e7
[3/8] clk: qcom: gcc-sm6350: explicitly include clk-provider.h
      commit: 1fc8887c04b28d294b71b802fca29a5fa667d7fa
[4/8] clk: qcom: lpasscc-sc7280: explicitly include clk-provider.h
      commit: 27f239a4c5e79a8e2f721b0ded24e1f34437d7f1
[5/8] clk: qcom: lpasscc-sdm845: explicitly include clk-provider.h
      commit: 3333607bdd4f1a64a13741a252f2eee1bb0a442c
[6/8] clk: qcom: mmcc-apq8084: explicitly include clk-provider.h
      commit: 5bcc2521ec7053b0a99e20bbf8f18d6001a78e6c
[7/8] clk: qcom: q6sstop-qcs404: explicitly include clk-provider.h
      commit: 737a2267581ac145db337081ae6fbf9f62feb47b
[8/8] clk: qcom: turingcc-qcs404: explicitly include clk-provider.h
      commit: 96ea2a4291343613a7c2da03c03f23dc259171ff

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>