From: Amit Shah Date: Fri, 27 Nov 2009 20:50:49 +0000 (+0000) Subject: hvc_console: Export (GPL'ed) hvc_remove X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c0cefebc0b6ae1bc4c92672223a54e1ee96ea7f0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git hvc_console: Export (GPL'ed) hvc_remove The virtio console, which uses hvc, will get the ability to hot-unplug ports. Export hvc_remove so that virtio_console can disassociate with hvc. Signed-off-by: Amit Shah Cc: linuxppc-dev@ozlabs.org Signed-off-by: Benjamin Herrenschmidt --- diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c index a632f25f144a..416d3423150d 100644 --- a/drivers/char/hvc_console.c +++ b/drivers/char/hvc_console.c @@ -832,6 +832,7 @@ int hvc_remove(struct hvc_struct *hp) tty_hangup(tty); return 0; } +EXPORT_SYMBOL_GPL(hvc_remove); /* Driver initialization: called as soon as someone uses hvc_alloc(). */ static int hvc_init(void)