2018-02-25 07:50:52

by Ramon Fried

[permalink] [raw]
Subject: [PATCH v3] qrtr: add MODULE_ALIAS macro to smd

Added MODULE_ALIAS("rpmsg:IPCRTR") to ensure qrtr-smd and qrtr will load
when IPCRTR channel is detected.

Signed-off-by: Ramon Fried <[email protected]>

---
V2: Corrected subject line, this is not a part of a patchset.
V3: Placed the changelog under the ---.

net/qrtr/smd.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/net/qrtr/smd.c b/net/qrtr/smd.c
index 50615d5efac1..9cf089b9754e 100644
--- a/net/qrtr/smd.c
+++ b/net/qrtr/smd.c
@@ -114,5 +114,6 @@ static struct rpmsg_driver qcom_smd_qrtr_driver = {

module_rpmsg_driver(qcom_smd_qrtr_driver);

+MODULE_ALIAS("rpmsg:IPCRTR");
MODULE_DESCRIPTION("Qualcomm IPC-Router SMD interface driver");
MODULE_LICENSE("GPL v2");
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project



2018-02-26 20:11:12

by David Miller

[permalink] [raw]
Subject: Re: [PATCH v3] qrtr: add MODULE_ALIAS macro to smd

From: Ramon Fried <[email protected]>
Date: Sun, 25 Feb 2018 09:49:37 +0200

> Added MODULE_ALIAS("rpmsg:IPCRTR") to ensure qrtr-smd and qrtr will load
> when IPCRTR channel is detected.
>
> Signed-off-by: Ramon Fried <[email protected]>

Applied, thanks.