summaryrefslogtreecommitdiffstats
path: root/drivers/serial/68360serial.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-09-07 00:16:59 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 01:57:24 +0200
commita10077708233becfbae7b0104e1e8c0569359aa7 (patch)
tree739567ae52a5ac243e3fa7c280b905b17ecf480b /drivers/serial/68360serial.c
parent[PATCH] move m68k rtc drivers over to initcalls (diff)
downloadlinux-a10077708233becfbae7b0104e1e8c0569359aa7.tar.xz
linux-a10077708233becfbae7b0104e1e8c0569359aa7.zip
[PATCH] move 68360serial.c over use initcalls
this is the last serial driver not using initcalls. Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: <jeff@uclinux.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--drivers/serial/68360serial.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/serial/68360serial.c b/drivers/serial/68360serial.c
index b116122e569a..170c9d2a749c 100644
--- a/drivers/serial/68360serial.c
+++ b/drivers/serial/68360serial.c
@@ -2474,8 +2474,7 @@ static struct tty_operations rs_360_ops = {
.tiocmset = rs_360_tiocmset,
};
-/* int __init rs_360_init(void) */
-int rs_360_init(void)
+static int __init rs_360_init(void)
{
struct serial_state * state;
ser_info_t *info;
@@ -2827,10 +2826,7 @@ int rs_360_init(void)
return 0;
}
-
-
-
-
+module_init(rs_360_init);
/* This must always be called before the rs_360_init() function, otherwise
* it blows away the port control information.