x86/platform/intel-mid: Move watchdog registration to arch_initcall()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2017 19:24:25 +0000 (21:24 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 20 Jan 2017 09:07:42 +0000 (10:07 +0100)
There is no need to choose a random initcall level for certainly
architecture dependent code.

Move watchdog registration to arch_initcall() from rootfs_initcall().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: http://lkml.kernel.org/r/20170119192425.189899-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c

index 8a10a56..86edd1e 100644 (file)
@@ -82,4 +82,4 @@ static int __init register_mid_wdt(void)
 
        return 0;
 }
-rootfs_initcall(register_mid_wdt);
+arch_initcall(register_mid_wdt);