diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-10-18 18:21:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-06 23:26:43 -0800 |
commit | fc7f47bf1d0a45304809c42405f82eecfc04fd29 (patch) | |
tree | efbd6974d49b18e83bd64320d73f52e9b01780d5 /tools | |
parent | e3c5fc4d47ad2a52924d72e9945e00ec6dd2997b (diff) | |
download | op-kernel-dev-fc7f47bf1d0a45304809c42405f82eecfc04fd29.zip op-kernel-dev-fc7f47bf1d0a45304809c42405f82eecfc04fd29.tar.gz |
drivers/tty: make ehv_bytechan.c explicitly non-modular
The Kconfig currently controlling compilation of this code is:
drivers/tty/Kconfig:config PPC_EPAPR_HV_BYTECHAN
drivers/tty/Kconfig: bool "ePAPR hypervisor byte channel driver"
...meaning that it currently is not being built as a module by anyone.
Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.
We explicitly disallow a driver unbind, since that doesn't have a
sensible use case anyway, and it allows us to drop the ".remove"
code for non-modular drivers.
Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.
We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions