projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529586d
)
hvc_console: Export (GPL'ed) hvc_remove
author
Amit Shah
<amit.shah@redhat.com>
Fri, 27 Nov 2009 20:50:49 +0000
(20:50 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 8 Dec 2009 05:02:49 +0000
(16:02 +1100)
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>
drivers/char/hvc_console.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/hvc_console.c
b/drivers/char/hvc_console.c
index a632f25f144a8509b91d92ea4660636d9a998a69..416d3423150d8d037dce7a459eb8a5fc44a64fc8 100644
(file)
--- a/
drivers/char/hvc_console.c
+++ b/
drivers/char/hvc_console.c
@@
-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)