aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/amiserial.c
diff options
context:
space:
mode:
authorRussell King <rmk+lkml@arm.linux.org.uk>2005-06-25 14:54:30 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 16:24:25 -0700
commit7919a693bd735ed0aa93fc359ae09a588cfeb3bc (patch)
tree741946d5de968903bb0b2225320c65c2e88a0b7a /drivers/char/amiserial.c
parent821fe94727e72d63e1abd1bc0b044c72dfad9fb6 (diff)
downloadkernel_samsung_smdk4412-7919a693bd735ed0aa93fc359ae09a588cfeb3bc.zip
kernel_samsung_smdk4412-7919a693bd735ed0aa93fc359ae09a588cfeb3bc.tar.gz
kernel_samsung_smdk4412-7919a693bd735ed0aa93fc359ae09a588cfeb3bc.tar.bz2
[PATCH] Serial: remove unnecessary register_serial/unregister_serial
A couple of drivers declare register_serial/unregister_serial prototypes but don't use them. FRV contains a commented out call to register_serial. Since these are deprecated, remove these unnecessary references. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/amiserial.c')
-rw-r--r--drivers/char/amiserial.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/amiserial.c b/drivers/char/amiserial.c
index 777bc49..2a36561 100644
--- a/drivers/char/amiserial.c
+++ b/drivers/char/amiserial.c
@@ -1973,10 +1973,6 @@ static _INLINE_ void show_serial_version(void)
}
-int register_serial(struct serial_struct *req);
-void unregister_serial(int line);
-
-
static struct tty_operations serial_ops = {
.open = rs_open,
.close = rs_close,