Skip to content

Commit

Permalink
hvc_console: Export (GPL'ed) hvc_remove
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Amit Shah authored and Benjamin Herrenschmidt committed Dec 8, 2009
1 parent 529586d commit c0cefeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/hvc_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c0cefeb

Please sign in to comment.