]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/tty/sysrq.c
drivers/tty: make sysrq.c slightly more explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 19 Aug 2015 21:48:06 +0000 (17:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:27:56 +0000 (17:27 +0100)
commit3bce6f6434a14d3bb444483476885f0d2a32329e
tree21508ff42e0761d4357780b54791fa82a8e222ed
parent7154988fec43fe2ed986f3b7dd5b43171fab64d6
drivers/tty: make sysrq.c slightly more explicitly non-modular

The Kconfig currently controlling compilation of this code is:

config.debug:config MAGIC_SYSRQ
      bool "Magic SysRq key"

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

Lets remove the traces of modularity we can so that when reading the
driver there is less 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 delete the module.h include since other parts of the file are
using content from there.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/sysrq.c