diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2024-04-10 18:40:58 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-05-06 19:26:28 -0700 |
commit | bcbab579f968ffd63236d90227212e689ddbd600 (patch) | |
tree | 4869e0619745f1668cf2b0db90b751d85edd0e0c /drivers/rpmsg/qcom_glink_ssr.c | |
parent | 193d0c4e1e42517958b6510687fbd9a92165aa0d (diff) | |
download | lwn-bcbab579f968ffd63236d90227212e689ddbd600.tar.gz lwn-bcbab579f968ffd63236d90227212e689ddbd600.zip |
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 <krzk@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240410164058.233280-1-krzk@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/rpmsg/qcom_glink_ssr.c')
-rw-r--r-- | drivers/rpmsg/qcom_glink_ssr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rpmsg/qcom_glink_ssr.c b/drivers/rpmsg/qcom_glink_ssr.c index 39ffa384c9b1..e71d3716c55c 100644 --- a/drivers/rpmsg/qcom_glink_ssr.c +++ b/drivers/rpmsg/qcom_glink_ssr.c @@ -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, |