slimbus: qcom-ctrl: fix module autoloading
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
@@ -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
Quoted 6 lines · Krzysztof Kozlowski
Add
MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias fromof_device_idtable. Pin controllers are considered core components, so usually they are built-in, however theseSigned-off-by Krzysztof Kozlowski <[email protected]>---
Konrad
Srinivas Kandagatla
AppliedQuoted 5 lines · Krzysztof Kozlowski
Add
MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias fromof_device_idtable. 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]>