* [PATCH] rpmsg: qcom_glink_ssr: fix module autoloading
@ 2024-04-10 16:40 Krzysztof Kozlowski
2024-04-10 17:52 ` Konrad Dybcio
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 16:40 UTC (permalink / raw
To: Bjorn Andersson, Konrad Dybcio, Mathieu Poirier, linux-arm-msm,
linux-remoteproc, linux-kernel
Cc: Krzysztof Kozlowski
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>
---
drivers/rpmsg/qcom_glink_ssr.c | 1 +
1 file changed, 1 insertion(+)
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,
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rpmsg: qcom_glink_ssr: fix module autoloading
2024-04-10 16:40 [PATCH] rpmsg: qcom_glink_ssr: fix module autoloading Krzysztof Kozlowski
@ 2024-04-10 17:52 ` Konrad Dybcio
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2024-04-10 17:52 UTC (permalink / raw
To: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
linux-arm-msm, linux-remoteproc, linux-kernel
On 4/10/24 18:40, Krzysztof Kozlowski wrote:
> 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>
Konrad
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-10 17:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 16:40 [PATCH] rpmsg: qcom_glink_ssr: fix module autoloading Krzysztof Kozlowski
2024-04-10 17:52 ` Konrad Dybcio
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.