Commit 1386a820 authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds

Char: riscom8, change rc_init_drivers prototype

Let compiler decide if the rc_init_drivers function will be inlined and
mark it as __init, because it's called only from __init function.
Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 319fe7c3
......@@ -1618,7 +1618,7 @@ static const struct tty_operations riscom_ops = {
.tiocmset = rc_tiocmset,
};
static inline int rc_init_drivers(void)
static int __init rc_init_drivers(void)
{
int error;
int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment