From: Bjorn Andersson Date: Tue, 7 Nov 2017 04:50:35 +0000 (-0800) Subject: qrtr: Move to postcore_initcall X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7e732fa3171318418524b776b841b4024933b2b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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) {