diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-11-06 20:50:35 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-08 14:32:18 +0900 |
commit | b7e732fa3171318418524b776b841b4024933b2b (patch) | |
tree | 7ed40101ef6844da7b7c38c1c278196a912fe02c /net | |
parent | 7fd078337201cf7468f53c3d9ef81ff78cb6df3b (diff) | |
download | blackbird-op-linux-b7e732fa3171318418524b776b841b4024933b2b.tar.gz blackbird-op-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')
-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) { |