Skip to contentSkip to conversation

pinctrl: qcom: ipq5210: Publish the OF module alias

PATCH Applied hpp.iscas 3 participants 3 messages Sep 5 – Sep 7

Subsystems (5)
lore
Share & tools
lore

hpp.iscas

author
#0 lore raw

PATCH 1/1 pinctrl: qcom: ipq5210: Publish the OF module alias

The IPQ5210 TLMM platform driver can be a module and matches through ipq5210_tlmm_of_match. This table is not published for OF modalias matching.

Publish the existing table, preserving arch_initcall ordering and the shared MSM pinctrl probe.

Fixes a549fe22376f ("pinctrl: qcom: Introduce IPQ5210 TLMM driver")
---
 drivers/pinctrl/qcom/pinctrl-ipq5210.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pinctrl/qcom/pinctrl-ipq5210.c +1 -0
index 827a4ad..d5b4eb3 100644
@@ -867,6 +867,7 @@ static const struct of_device_id ipq5210_tlmm_of_match[] = {
 	{ .compatible = "qcom,ipq5210-tlmm", },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, ipq5210_tlmm_of_match);
 
 static int ipq5210_tlmm_probe(struct platform_device *pdev)
 {
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · hpp.iscas

The IPQ5210 TLMM platform driver can be a module and matches through ipq5210_tlmm_of_match. This table is not published for OF modalias matching.

Publish the existing table, preserving arch_initcall ordering and the shared MSM pinctrl probe.

Fixes a549fe22376f ("pinctrl: qcom: Introduce IPQ5210 TLMM driver")

---

Konrad

#2 lore raw
In reply to hpp.iscas
Quoted 8 lines · hpp.iscas

The IPQ5210 TLMM platform driver can be a module and matches through ipq5210_tlmm_of_match. This table is not published for OF modalias matching.

Publish the existing table, preserving arch_initcall ordering and the shared MSM pinctrl probe.

[...]

Applied, thanks!

[1/1] pinctrl: qcom: ipq5210: Publish the OF module alias

      https://git.kernel.org/brgl/c/818103dc7f5998a0d7957fb71d4deecdf4d579e1

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>