summaryrefslogtreecommitdiffstats
path: root/net/qrtr
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-11-07 05:50:35 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-08 06:32:18 +0100
commitb7e732fa3171318418524b776b841b4024933b2b (patch)
tree7ed40101ef6844da7b7c38c1c278196a912fe02c /net/qrtr
parentnet: qmi_wwan: fix divide by 0 on bad descriptors (diff)
downloadlinux-b7e732fa3171318418524b776b841b4024933b2b.tar.xz
linux-b7e732fa3171318418524b776b841b4024933b2b.zip
qrtr: Move to postcore_initcall
Registering qrtr with module_init makes the ability of typical platform code to create AF_QIPCRTR socket during probe a matter of link order luck. Moving qrtr to postcore_initcall() avoids this. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/qrtr')
-rw-r--r--net/qrtr/qrtr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/qrtr/qrtr.c b/net/qrtr/qrtr.c
index c2f5c13550c0..78418f38464a 100644
--- a/net/qrtr/qrtr.c
+++ b/net/qrtr/qrtr.c
@@ -1085,7 +1085,7 @@ static int __init qrtr_proto_init(void)
return 0;
}
-module_init(qrtr_proto_init);
+postcore_initcall(qrtr_proto_init);
static void __exit qrtr_proto_fini(void)
{