Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0cefebc authored by Amit Shah's avatar Amit Shah Committed by Benjamin Herrenschmidt
Browse files

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: default avatarAmit Shah <amit.shah@redhat.com>
Cc: linuxppc-dev@ozlabs.org
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 529586dc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)