Skip to contentSkip to conversation

slimbus: qcom-ctrl: fix module autoloading

PATCH Applied Krzysztof Kozlowski 3 participants 3 messages Apr 10, 2024 – Apr 11, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 slimbus: qcom-ctrl: fix module autoloading

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table. Pin controllers are considered core components, so usually they are built-in, however these

---
 drivers/slimbus/qcom-ctrl.c | 1 +
 1 file changed, 1 insertion(+)
drivers/slimbus/qcom-ctrl.c +1 -0
index 400b7b385a44..f7d04b50c973 100644
@@ -718,6 +718,7 @@ static const struct of_device_id qcom_slim_dt_match[] = {
 	{ .compatible = "qcom,slim", },
 	{}
 };
+MODULE_DEVICE_TABLE(of, qcom_slim_dt_match);
 
 static struct platform_driver qcom_slim_driver = {
 	.probe = qcom_slim_probe,
Signature · 1 line
2.34.1
#2 lore raw
In reply to Krzysztof Kozlowski
Quoted 5 lines · Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table. Pin controllers are considered core components, so usually they are built-in, however these

Applied, thanks!

[1/1] slimbus: qcom-ctrl: fix module autoloading

      commit: 772be93c1c247d006bac1a7fe967864d90a34415

Best regards,

Signature · 1 line
Srinivas Kandagatla <[email protected]>