diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-01-19 21:24:25 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-01-20 10:07:42 +0100 |
commit | e2e2eabb68dfd00502bf8501b015862eb8b3f392 (patch) | |
tree | 2a018ec88b030570776139a02e5ccdad8a00c494 | |
parent | 939533955d1f1d51e8e37d7d675646ce9d55534b (diff) | |
download | linux-e2e2eabb68dfd00502bf8501b015862eb8b3f392.tar.bz2 |
x86/platform/intel-mid: Move watchdog registration to arch_initcall()
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>
-rw-r--r-- | arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c index 8a10a56f2840..86edd1e941eb 100644 --- a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c +++ b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c @@ -82,4 +82,4 @@ static int __init register_mid_wdt(void) return 0; } -rootfs_initcall(register_mid_wdt); +arch_initcall(register_mid_wdt); |