mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Cc: Rich Felker <[email protected]> Cc: [email protected] Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Rich Felker <[email protected]>
This commit is contained in:
parent
7a65a34fae
commit
f15412aa08
1 changed files with 1 additions and 4 deletions
|
|
@ -17,7 +17,6 @@
|
|||
* for more details.
|
||||
*/
|
||||
#include <linux/init.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/seq_file.h>
|
||||
#include <linux/spinlock.h>
|
||||
|
|
@ -70,6 +69,4 @@ static int __init asids_debugfs_init(void)
|
|||
|
||||
return PTR_ERR_OR_ZERO(asids_dentry);
|
||||
}
|
||||
module_init(asids_debugfs_init);
|
||||
|
||||
MODULE_LICENSE("GPL v2");
|
||||
device_initcall(asids_debugfs_init);
|
||||
|
|
|
|||
Loading…
Reference in a new issue