mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
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 <amit.shah@redhat.com> Cc: linuxppc-dev@ozlabs.org Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
529586dc39
commit
c0cefebc0b
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue