diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-04-22 14:07:03 -0400 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2016-07-30 23:33:32 -0400 |
commit | f368d475871e8aafdfcffc858aad9647ced82fa2 (patch) | |
tree | 6df18c0794f3d43e028e06c2025cd621f23f2acb /arch/sh | |
parent | f15412aa08783d4994dc439a5a2bd1c3bfd0811e (diff) |
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 <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/board-secureedge5410.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/boards/board-secureedge5410.c b/arch/sh/boards/board-secureedge5410.c index 98b36205aa7b..97ec67ffec2b 100644 --- a/arch/sh/boards/board-secureedge5410.c +++ b/arch/sh/boards/board-secureedge5410.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
15 | #include <linux/timer.h> | 15 | #include <linux/timer.h> |
16 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
17 | #include <linux/module.h> | ||
18 | #include <linux/sched.h> | 17 | #include <linux/sched.h> |
19 | #include <asm/machvec.h> | 18 | #include <asm/machvec.h> |
20 | #include <mach/secureedge5410.h> | 19 | #include <mach/secureedge5410.h> |
@@ -49,7 +48,7 @@ static int __init eraseconfig_init(void) | |||
49 | irq); | 48 | irq); |
50 | return 0; | 49 | return 0; |
51 | } | 50 | } |
52 | module_init(eraseconfig_init); | 51 | device_initcall(eraseconfig_init); |
53 | 52 | ||
54 | /* | 53 | /* |
55 | * Initialize IRQ setting | 54 | * Initialize IRQ setting |