]> git.baikalelectronics.ru Git - kernel.git/commit
sh: make mm/asids-debugfs explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 22 Apr 2016 18:07:02 +0000 (14:07 -0400)
committerRich Felker <dalias@libc.org>
Sun, 31 Jul 2016 03:33:32 +0000 (03:33 +0000)
commit9bfc3ccfea1095ddaa3aff126e5d048c81a1ad78
treeab17bd022fbd06ad07e3d7770f52db97247527d5
parent58418f35945e0b2d08a822a3c97d8a43040a039b
sh: make mm/asids-debugfs explicitly non-modular

The Makefile/Kconfig currently controlling compilation of this code is:

obj-$(CONFIG_DEBUG_FS)          += $(debugfs-y)
debugfs-y                       := asids-debugfs.o

lib/Kconfig.debug:config DEBUG_FS
lib/Kconfig.debug:      bool "Debug Filesystem"

....meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modular code, 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.

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/mm/asids-debugfs.c