Files
android_kernel_xiaomi_sm8450/drivers/tty
Arnd Bergmann e36ae34399 tty: hvc_xen: hide xen_console_remove when unused
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>
2016-02-06 23:41:17 -08:00
..
2016-01-28 14:13:44 -08:00
2016-01-28 14:13:44 -08:00
2016-01-28 14:13:44 -08:00
2016-01-28 14:13:44 -08:00
2016-01-28 14:13:44 -08:00
2016-01-28 14:19:12 -08:00
2016-01-28 14:13:44 -08:00
2016-01-28 14:13:44 -08:00
2016-01-28 14:13:44 -08:00
2016-01-28 14:19:12 -08:00