From: Paul Gortmaker Date: Fri, 22 Apr 2016 18:07:03 +0000 (-0400) Subject: sh: make board-secureedge5410 explicitly non-modular X-Git-Tag: v4.8-rc1~15^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f368d475871e8aafdfcffc858aad9647ced82fa2;p=platform%2Fkernel%2Flinux-exynos.git sh: make board-secureedge5410 explicitly non-modular The Kconfig currently controlling compilation of this code is: config SH_SECUREEDGE5410 bool "SecureEdge5410" ....meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modularity so that when reading the driver there is no doubt it is builtin-only. Since module_init translates to device_initcall in the non-modular case, the init ordering remains unchanged with this commit. We don't replace module.h with init.h since the file already has that. Cc: Yoshinori Sato Cc: Rich Felker Cc: linux-sh@vger.kernel.org Signed-off-by: Paul Gortmaker Signed-off-by: Rich Felker --- diff --git a/arch/sh/boards/board-secureedge5410.c b/arch/sh/boards/board-secureedge5410.c index 98b3620..97ec67f 100644 --- a/arch/sh/boards/board-secureedge5410.c +++ b/arch/sh/boards/board-secureedge5410.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -49,7 +48,7 @@ static int __init eraseconfig_init(void) irq); return 0; } -module_init(eraseconfig_init); +device_initcall(eraseconfig_init); /* * Initialize IRQ setting