From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751826AbdATJMD (ORCPT ); Fri, 20 Jan 2017 04:12:03 -0500 Received: from terminus.zytor.com ([65.50.211.136]:46288 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751712AbdATJLx (ORCPT ); Fri, 20 Jan 2017 04:11:53 -0500 Date: Fri, 20 Jan 2017 01:11:46 -0800 From: tip-bot for Andy Shevchenko Message-ID: Cc: linux-kernel@vger.kernel.org, andriy.shevchenko@linux.intel.com, tglx@linutronix.de, mingo@kernel.org, hpa@zytor.com Reply-To: tglx@linutronix.de, linux-kernel@vger.kernel.org, andriy.shevchenko@linux.intel.com, hpa@zytor.com, mingo@kernel.org In-Reply-To: <20170119192425.189899-5-andriy.shevchenko@linux.intel.com> References: <20170119192425.189899-5-andriy.shevchenko@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/platform] x86/platform/intel-mid: Move watchdog registration to arch_initcall() Git-Commit-ID: e2e2eabb68dfd00502bf8501b015862eb8b3f392 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: e2e2eabb68dfd00502bf8501b015862eb8b3f392 Gitweb: http://git.kernel.org/tip/e2e2eabb68dfd00502bf8501b015862eb8b3f392 Author: Andy Shevchenko AuthorDate: Thu, 19 Jan 2017 21:24:25 +0200 Committer: Thomas Gleixner CommitDate: Fri, 20 Jan 2017 10:07:42 +0100 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 Link: http://lkml.kernel.org/r/20170119192425.189899-5-andriy.shevchenko@linux.intel.com Signed-off-by: Thomas Gleixner --- arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 8a10a56..86edd1e9 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);