diff options
author | Greg KH <gregkh@linuxfoundation.org> | 2017-08-30 13:16:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-30 10:15:12 -0700 |
commit | 0da93d2ebb5d198a4601bd5ad7695f3c6fd36062 (patch) | |
tree | e7b52a2d56ba20f5960968999ed47bede5db525b /net | |
parent | d081a16db80ef7a260fb178aa1199e01f7432625 (diff) |
staging: irda: fix init level for irda core
When moving the IRDA code out of net/ into drivers/staging/irda/net, the
link order changes when IRDA is built into the kernel. That causes a
kernel crash at boot time as netfilter isn't initialized yet.
To fix this, move the init call level of the irda core to be
device_initcall() as the link order keeps this being initialized at the
correct time.
Reported-by: kernel test robot <fengguang.wu@intel.com>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions