[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>
This commit is contained in:
Christoph Hellwig
2005-09-06 15:16:59 -07:00
committed by Linus Torvalds
parent 573fc11313
commit a100777082
2 changed files with 2 additions and 12 deletions

View File

@ -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.