]> git.baikalelectronics.ru Git - kernel.git/commit
sh: make board-secureedge5410 explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 22 Apr 2016 18:07:03 +0000 (14:07 -0400)
committerRich Felker <dalias@libc.org>
Sun, 31 Jul 2016 03:33:32 +0000 (03:33 +0000)
commit12ea2670983c30e1dc272d29383c8a7d8eeab29b
tree6df18c0794f3d43e028e06c2025cd621f23f2acb
parent9bfc3ccfea1095ddaa3aff126e5d048c81a1ad78
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>
arch/sh/boards/board-secureedge5410.c