diff --git a/arch/x86/kernel/check.c b/arch/x86/kernel/check.c index 83a7995625a6de35c293537c7e78c3a0ba6a1a63..f40cfd12ba66d750443e480dab1baa7c4be5e1ef 100644 --- a/arch/x86/kernel/check.c +++ b/arch/x86/kernel/check.c @@ -1,4 +1,4 @@ -#include +#include #include #include #include @@ -162,6 +162,5 @@ static int start_periodic_check_for_corruption(void) schedule_delayed_work(&bios_check_work, 0); return 0; } - -module_init(start_periodic_check_for_corruption); +device_initcall(start_periodic_check_for_corruption);