From patchwork Sat Nov 28 06:50:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Shah X-Patchwork-Id: 39684 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 1C936100ADD for ; Sat, 28 Nov 2009 17:53:11 +1100 (EST) Received: by ozlabs.org (Postfix) id 822DB1007E7; Sat, 28 Nov 2009 17:53:01 +1100 (EST) Delivered-To: linuxppc-dev@ozlabs.org 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) Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAS6quZ8000387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 28 Nov 2009 01:52:56 -0500 Received: from localhost (vpn-229-38.phx2.redhat.com [10.3.229.38]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAS6qsGm018788; Sat, 28 Nov 2009 01:52:55 -0500 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> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 Cc: Amit Shah , linuxppc-dev@ozlabs.org, virtualization@lists.linux-foundation.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org 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)