diff mbox series

net: qrtr: add MODULE_ALIAS_NETPROTO macro

Message ID 20180417120326.11022-1-nicolas.dechesne@linaro.org
State Accepted
Commit 77ac725e0c5b27c925e514b999cd46d01eedafd1
Headers show
Series net: qrtr: add MODULE_ALIAS_NETPROTO macro | expand

Commit Message

Nicolas Dechesne April 17, 2018, 12:03 p.m. UTC
To ensure that qrtr can be loaded automatically, when needed, if it is compiled
as module.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>

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

-- 
2.14.2

Comments

David Miller April 17, 2018, 1:58 p.m. UTC | #1
From: Nicolas Dechesne <nicolas.dechesne@linaro.org>

Date: Tue, 17 Apr 2018 14:03:26 +0200

> To ensure that qrtr can be loaded automatically, when needed, if it is compiled

> as module.

> 

> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>


Applied.
diff mbox series

Patch

diff --git a/net/qrtr/qrtr.c b/net/qrtr/qrtr.c
index b33e5aeb4c06..2aa07b547b16 100644
--- a/net/qrtr/qrtr.c
+++ b/net/qrtr/qrtr.c
@@ -1135,3 +1135,4 @@  module_exit(qrtr_proto_fini);
 
 MODULE_DESCRIPTION("Qualcomm IPC-router driver");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS_NETPROTO(PF_QIPCRTR);