summaryrefslogtreecommitdiffstats
path: root/net/qrtr/smd.c
diff options
context:
space:
mode:
authorRamon Fried <rfried@codeaurora.org>2018-02-25 09:49:37 +0200
committerDavid S. Miller <davem@davemloft.net>2018-02-26 15:07:04 -0500
commitc77f5fbbefc04612755117775e8555c2a7006cac (patch)
tree325a9b9846d2d53417bae7bbdbcc3ed53277629f /net/qrtr/smd.c
parentb6c3bad1ba83af1062a7ff6986d9edc4f3d7fc8e (diff)
downloadlinux-c77f5fbbefc04612755117775e8555c2a7006cac.tar.bz2
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 <rfried@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/qrtr/smd.c')
-rw-r--r--net/qrtr/smd.c1
1 files changed, 1 insertions, 0 deletions
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");