Skip to content

Commit bcbab57

Browse files
krzkandersson
authored andcommitted
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]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 193d0c4 commit bcbab57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/rpmsg/qcom_glink_ssr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ static const struct rpmsg_device_id qcom_glink_ssr_match[] = {
154154
{ "glink_ssr" },
155155
{}
156156
};
157+
MODULE_DEVICE_TABLE(rpmsg, qcom_glink_ssr_match);
157158

158159
static struct rpmsg_driver qcom_glink_ssr_driver = {
159160
.probe = qcom_glink_ssr_probe,

0 commit comments

Comments
 (0)