diff options
author | Amit Shah <amit.shah@redhat.com> | 2009-11-27 15:50:49 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-08 00:02:49 -0500 |
commit | c0cefebc0b6ae1bc4c92672223a54e1ee96ea7f0 (patch) | |
tree | e3f8cdf1c77e593a015ce3b469974d9df5cddb1c /drivers/char/hvc_console.c | |
parent | 529586dc39b0ec47c6290c4e7bed6ea3ffd1d8fb (diff) |
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>
Diffstat (limited to 'drivers/char/hvc_console.c')
-rw-r--r-- | drivers/char/hvc_console.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
832 | tty_hangup(tty); | 832 | tty_hangup(tty); |
833 | return 0; | 833 | return 0; |
834 | } | 834 | } |
835 | EXPORT_SYMBOL_GPL(hvc_remove); | ||
835 | 836 | ||
836 | /* Driver initialization: called as soon as someone uses hvc_alloc(). */ | 837 | /* Driver initialization: called as soon as someone uses hvc_alloc(). */ |
837 | static int hvc_init(void) | 838 | static int hvc_init(void) |