linux/drivers/tty/hvc
Arnd Bergmann f1691276e5 tty: hvc_xen: hide xen_console_remove when unused
commit e36ae34399 upstream.

xencons_disconnect_backend() is only called from xen_console_remove(),
which is conditionally compiled, so we get a harmless warning when
CONFIG_HVC_XEN_FRONTEND is unset:

hvc/hvc_xen.c:350:12: error: 'xen_console_remove' defined but not used [-Werror=unused-function]

This moves the function down into the same #ifdef section to silence
the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:03:46 +01: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
hvc_tile.c drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN 2015-05-11 11:22:20 -04:00
hvc_udbg.c
hvc_vio.c
hvc_xen.c tty: hvc_xen: hide xen_console_remove when unused 2018-02-25 11:03:46 +01:00
hvcs.c tty: Remove tty_wait_until_sent_from_close() 2015-10-17 21:11:29 -07:00
hvsi_lib.c
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