From: Takeharu KATO <takeharu1219@ybb.ne.jp>
To: trivial@rustcorp.com.au
Cc: linux-kernel@vger.kernel.org
Subject: [TRIVAL] Runtime linkage fix for serial_cs
Date: Sat, 03 Sep 2005 17:49:23 +0900 [thread overview]
Message-ID: <43196393.2040801@ybb.ne.jp> (raw)
Hi
I found current serial_cs driver can not be loaded into the kernel.
The reason of this issue is serial_cs driver uses serial8250_unregister_port function
which is not exported for modules.
I fixed the issue, please apply this patch.
Signed-off-by: kato.takeharu@jp.fujitsu.com
diff -NBbur linux.orig/drivers/serial/serial_cs.c linux/drivers/serial/serial_cs.c
--- linux.orig/drivers/serial/serial_cs.c 2005-06-27 15:06:42.000000000 +0900
+++ linux/drivers/serial/serial_cs.c 2005-08-24 00:16:09.297664592 +0900
@@ -139,7 +139,7 @@
*/
if (info->link.state & DEV_CONFIG) {
for (i = 0; i < info->ndev; i++)
- serial8250_unregister_port(info->line[i]);
+ unregister_serial(info->line[i]);
info->link.dev = NULL;
next reply other threads:[~2005-09-03 8:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-03 8:49 Takeharu KATO [this message]
2005-09-03 9:00 ` [TRIVAL] Runtime linkage fix for serial_cs Russell King
2005-09-03 16:03 ` Takeharu KATO
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43196393.2040801@ybb.ne.jp \
--to=takeharu1219@ybb.ne.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox