rpmsg: qcom_glink_ssr: fix module autoloading
Subsystems (2)
PATCH 1/1 rpmsg: qcom_glink_ssr: fix module autoloading
Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table.
Signed-off-by Krzysztof Kozlowski <[email protected]>
--- drivers/rpmsg/qcom_glink_ssr.c | 1 + 1 file changed, 1 insertion(+)
drivers/rpmsg/qcom_glink_ssr.c +1 -0
@@ -154,6 +154,7 @@ static const struct rpmsg_device_id qcom_glink_ssr_match[] = { { "glink_ssr" }, {} }; +MODULE_DEVICE_TABLE (rpmsg, qcom_glink_ssr_match);static struct rpmsg_driver qcom_glink_ssr_driver = { .probe = qcom_glink_ssr_probe,
Signature · 1 line
2.34.1
Quoted 5 lines · Krzysztof Kozlowski
Add
MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias fromof_device_idtable.Signed-off-by Krzysztof Kozlowski <[email protected]>---
Reviewed-by Konrad Dybcio <[email protected]>
Konrad