diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-11-07 05:50:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-08 06:32:18 +0100 |
commit | b7e732fa3171318418524b776b841b4024933b2b (patch) | |
tree | 7ed40101ef6844da7b7c38c1c278196a912fe02c /net/qrtr | |
parent | net: qmi_wwan: fix divide by 0 on bad descriptors (diff) | |
download | linux-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.c | 2 |
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) { |