Skip to content

Commit b7e732f

Browse files
anderssondavem330
authored andcommitted
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>
1 parent 7fd0783 commit b7e732f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

net/qrtr/qrtr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ static int __init qrtr_proto_init(void)
10851085

10861086
return 0;
10871087
}
1088-
module_init(qrtr_proto_init);
1088+
postcore_initcall(qrtr_proto_init);
10891089

10901090
static void __exit qrtr_proto_fini(void)
10911091
{

0 commit comments

Comments
 (0)