linux/drivers/tty/hvc
Paul Gortmaker e3c5fc4d47 drivers/tty: make hvc/hvc_vio.c explicitly non-modular
The Kconfig currently controlling compilation of this code is:

drivers/tty/hvc/Kconfig:config HVC_CONSOLE
drivers/tty/hvc/Kconfig:        bool "pSeries Hypervisor Virtual Console support"

...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.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.

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.

We don't replace module.h with init.h since the file already has that.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Anton Blanchard <anton@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-06 23:26:43 -08:00
..
hvc_bfin_jtag.c
hvc_console.c tty: Remove tty_wait_until_sent_from_close() 2015-10-17 21:11:29 -07:00
hvc_console.h
hvc_dcc.c hvc_dcc: don't ignore errors during initialization 2015-10-04 17:49:27 +01:00
hvc_irq.c
hvc_iucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
hvc_opal.c hvc: Convert to using interrupts instead of opal events 2015-05-22 15:14:38 +10:00
hvc_rtas.c drivers/tty/hvc: don't use module_init in non-modular hyp. console code 2014-02-07 08:40:54 -08:00
hvc_tile.c drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN 2015-05-11 11:22:20 -04:00
hvc_udbg.c drivers/tty/hvc: don't use module_init in non-modular hyp. console code 2014-02-07 08:40:54 -08:00
hvc_vio.c drivers/tty: make hvc/hvc_vio.c explicitly non-modular 2016-02-06 23:26:43 -08:00
hvc_xen.c tty/hvc: xen: Use xen page definition 2015-10-23 14:20:37 +01:00
hvcs.c tty: Remove tty_wait_until_sent_from_close() 2015-10-17 21:11:29 -07:00
hvsi_lib.c tty-hvsi_lib: Deletion of an unnecessary check before the function call "tty_kref_put" 2014-11-26 19:35:49 -08:00
hvsi.c powerpc/hvsi: Fix endianness issues in the HVSI driver 2015-08-20 18:19:08 +10:00
Kconfig ARM64: TTY: hvc_dcc: Add support for ARM64 dcc 2015-10-04 17:49:27 +01:00
Makefile tty/hvc: remove celleb-only beat driver 2015-05-10 19:19:06 +02:00