linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: qrtr: add MODULE_ALIAS_NETPROTO macro
@ 2018-04-17 12:03 Nicolas Dechesne
  2018-04-17 13:58 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Dechesne @ 2018-04-17 12:03 UTC (permalink / raw)
  To: davem, bjorn.andersson; +Cc: netdev, linux-kernel, Nicolas Dechesne

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(+)

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);
-- 
2.14.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: qrtr: add MODULE_ALIAS_NETPROTO macro
  2018-04-17 12:03 [PATCH] net: qrtr: add MODULE_ALIAS_NETPROTO macro Nicolas Dechesne
@ 2018-04-17 13:58 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-04-17 13:58 UTC (permalink / raw)
  To: nicolas.dechesne; +Cc: bjorn.andersson, netdev, linux-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-17 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-17 12:03 [PATCH] net: qrtr: add MODULE_ALIAS_NETPROTO macro Nicolas Dechesne
2018-04-17 13:58 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).