OpenCloudOS-Kernel/drivers/staging/irda
Greg KH 0da93d2ebb 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>
2017-08-30 10:15:12 -07:00
..
drivers irda: move include/net/irda into staging subdirectory 2017-08-28 16:42:57 -07:00
include/net/irda irda: move include/net/irda into staging subdirectory 2017-08-28 16:42:57 -07:00
net staging: irda: fix init level for irda core 2017-08-30 10:15:12 -07:00
TODO staging: irda: add a TODO file. 2017-08-28 16:42:57 -07:00