Commit c0cefebc0b6ae1bc4c92672223a54e1ee96ea7f0

Authored by Amit Shah
Committed by Benjamin Herrenschmidt
1 parent 529586dc39

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/char/hvc_console.c
... ... @@ -832,6 +832,7 @@
832 832 tty_hangup(tty);
833 833 return 0;
834 834 }
  835 +EXPORT_SYMBOL_GPL(hvc_remove);
835 836  
836 837 /* Driver initialization: called as soon as someone uses hvc_alloc(). */
837 838 static int hvc_init(void)