]> git.baikalelectronics.ru Git - kernel.git/commit
mctp: Do inits as a subsys_initcall
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 29 Sep 2021 07:26:11 +0000 (15:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2021 10:00:11 +0000 (11:00 +0100)
commitb8ba17a6b6a83e53352a715c15d76a69149afc94
treea186389f69feb6898ceac73cd7d75bc954643406
parent931642788f45d4e7f8db24f95ee4825394149467
mctp: Do inits as a subsys_initcall

In a future change, we'll want to provide a registration call for
mctp-specific devices. This requires us to have the networks established
before device driver inits, so run the core init as a subsys_initcall.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mctp/af_mctp.c