From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by ozlabs.org (Postfix) with ESMTP id 2466B1007D5 for ; Sat, 28 Nov 2009 17:53:00 +1100 (EST) From: Amit Shah To: rusty@rustcorp.com.au Subject: [PATCH 26/28] hvc_console: Export (GPL'ed) hvc_remove Date: Sat, 28 Nov 2009 12:20:49 +0530 Message-Id: <1259391051-7752-27-git-send-email-amit.shah@redhat.com> In-Reply-To: <1259391051-7752-26-git-send-email-amit.shah@redhat.com> References: <1259391051-7752-1-git-send-email-amit.shah@redhat.com> <1259391051-7752-2-git-send-email-amit.shah@redhat.com> <1259391051-7752-3-git-send-email-amit.shah@redhat.com> <1259391051-7752-4-git-send-email-amit.shah@redhat.com> <1259391051-7752-5-git-send-email-amit.shah@redhat.com> <1259391051-7752-6-git-send-email-amit.shah@redhat.com> <1259391051-7752-7-git-send-email-amit.shah@redhat.com> <1259391051-7752-8-git-send-email-amit.shah@redhat.com> <1259391051-7752-9-git-send-email-amit.shah@redhat.com> <1259391051-7752-10-git-send-email-amit.shah@redhat.com> <1259391051-7752-11-git-send-email-amit.shah@redhat.com> <1259391051-7752-12-git-send-email-amit.shah@redhat.com> <1259391051-7752-13-git-send-email-amit.shah@redhat.com> <1259391051-7752-14-git-send-email-amit.shah@redhat.com> <1259391051-7752-15-git-send-email-amit.shah@redhat.com> <1259391051-7752-16-git-send-email-amit.shah@redhat.com> <1259391051-7752-17-git-send-email-amit.shah@redhat.com> <1259391051-7752-18-git-send-email-amit.shah@redhat.com> <1259391051-7752-19-git-send-email-amit.shah@redhat.com> <1259391051-7752-20-git-send-email-amit.shah@redhat.com> <1259391051-7752-21-git-send-email-amit.shah@redhat.com> <1259391051-7752-22-git-send-email-amit.shah@redhat.com> <1259391051-7752-23-git-send-email-amit.shah@redhat.com> <1259391051-7752-24-git-send-email-amit.shah@redhat.com> <1259391051-7752-25-git-send-email-amit.shah@redhat.com> <1259391051-7752-26-git-send-email-amit.shah@redhat.com> Cc: Amit Shah , linuxppc-dev@ozlabs.org, virtualization@lists.linux-foundation.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Cc: linuxppc-dev@ozlabs.org --- 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 299772f..d8dac58 100644 --- a/drivers/char/hvc_console.c +++ b/drivers/char/hvc_console.c @@ -833,6 +833,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) -- 1.6.2.5