Skip to contentSkip to conversation

Add missing MODULE_DEVICE_TABLE

PATCH Applied Chen Hui 3 participants 8 messages Apr 9, 2021 – May 26, 2021

Subsystems (3)
lore
Share & tools
lore

Chen Hui

author
#0 lore raw

v2 cover Add missing MODULE_DEVICE_TABLE

v2:
- separate from one patch into three patches
- add fixes tags

Chen Hui (3):
clk: qcom: a7-pll: Add missing MODULE_DEVICE_TABLE
clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE

 drivers/clk/qcom/a53-pll.c      | 1 +
 drivers/clk/qcom/a7-pll.c       | 1 +
 drivers/clk/qcom/apss-ipq-pll.c | 1 +
 3 files changed, 3 insertions(+)
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH v2 1/3 clk: qcom: a7-pll: Add missing MODULE_DEVICE_TABLE

CONFIG_QCOM_A7PLL is tristate option and therefore this driver can be compiled as a module. This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module.

Fixes 5a5223ffd7ef ("clk: qcom: Add A7 PLL support")
---
 drivers/clk/qcom/a7-pll.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/a7-pll.c +1 -0
index e171d3caf2cf..c4a53e5db229 100644
@@ -86,6 +86,7 @@ static const struct of_device_id qcom_a7pll_match_table[] = {
 	{ .compatible = "qcom,sdx55-a7pll" },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, qcom_a7pll_match_table);
 
 static struct platform_driver qcom_a7pll_driver = {
 	.probe = qcom_a7pll_probe,
Signature · 1 line
2.17.1
maintainer Applied
#2 lore raw

Re: [PATCH v2 -next 1/3] clk: qcom: a7-pll: Add missing MODULE_DEVICE_TABLE

Quoting Chen Hui (2021-04-09 01:23:50)

Quoted 9 lines

CONFIG_QCOM_A7PLL is tristate option and therefore this driver can be compiled as a module. This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module.

Fixes 5a5223ffd7ef ("clk: qcom: Add A7 PLL support")

---

Applied to clk-next

author
#3 lore raw

PATCH v2 2/3 clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE

In reply to Chen Hui

CONFIG_QCOM_A53PLL is tristate option and therefore this driver can be compiled as a module. This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module.

Fixes 0c6ab1b8f894 ("clk: qcom: Add A53 PLL support")
---
 drivers/clk/qcom/a53-pll.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/a53-pll.c +1 -0
index 45cfc57bff92..af6ac17c7dae 100644
@@ -93,6 +93,7 @@ static const struct of_device_id qcom_a53pll_match_table[] = {
 	{ .compatible = "qcom,msm8916-a53pll" },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, qcom_a53pll_match_table);
 
 static struct platform_driver qcom_a53pll_driver = {
 	.probe = qcom_a53pll_probe,
Signature · 1 line
2.17.1
maintainer Applied
#4 lore raw

Re: [PATCH v2 -next 2/3] clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE

Quoting Chen Hui (2021-04-09 01:23:51)

Quoted 9 lines

CONFIG_QCOM_A53PLL is tristate option and therefore this driver can be compiled as a module. This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module.

Fixes 0c6ab1b8f894 ("clk: qcom: Add A53 PLL support")

---

Applied to clk-next

author
#5 lore raw

PATCH v2 3/3 clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE

In reply to Chen Hui

CONFIG_IPQ_APSS_PLL is tristate option and therefore this driver can be compiled as a module. This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module.

Fixes ecd2bacfbbc4 ("clk: qcom: Add ipq apss pll driver")
---
 drivers/clk/qcom/apss-ipq-pll.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/apss-ipq-pll.c +1 -0
index 30be87fb222a..bef7899ad0d6 100644
@@ -81,6 +81,7 @@ static const struct of_device_id apss_ipq_pll_match_table[] = {
 	{ .compatible = "qcom,ipq6018-a53pll" },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, apss_ipq_pll_match_table);
 
 static struct platform_driver apss_ipq_pll_driver = {
 	.probe = apss_ipq_pll_probe,
Signature · 1 line
2.17.1
maintainer Applied
#6 lore raw

Re: [PATCH v2 -next 3/3] clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE

Quoting Chen Hui (2021-04-09 01:23:52)

Quoted 9 lines

CONFIG_IPQ_APSS_PLL is tristate option and therefore this driver can be compiled as a module. This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module.

Fixes ecd2bacfbbc4 ("clk: qcom: Add ipq apss pll driver")

---

Applied to clk-next

#7 lore raw
In reply to Chen Hui
This series was applied to qcom/linux.git (refs/heads/for-next):

Hello:

This series was applied to qcom/linux.git (refs/heads/for-next):

Quoted 10 lines · On Fri, 9 Apr 2021 16:23:49 +0800 you wrote:

v2:
- separate from one patch into three patches
- add fixes tags

Chen Hui (3):
clk: qcom: a7-pll: Add missing MODULE_DEVICE_TABLE
clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE

[...]

Here is the summary with links:
- [v2,-next,1/3] clk: qcom: a7-pll: Add missing MODULE_DEVICE_TABLE

    https://git.kernel.org/qcom/c/77a618b1481f
  - [v2,-next,2/3] clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
    https://git.kernel.org/qcom/c/790b516ada10
  - [v2,-next,3/3] clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE
    https://git.kernel.org/qcom/c/d0a859edda46

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html