From: Jiri Slaby Date: Thu, 7 Feb 2008 08:16:36 +0000 (-0800) Subject: Char: riscom8, change rc_init_drivers prototype X-Git-Tag: v3.12-rc1~23209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1386a820b32285583414a8db3a99305e7ebe8377;p=kernel%2Fkernel-generic.git 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: Jiri Slaby Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/riscom8.c b/drivers/char/riscom8.c index d130b87..9b19abf 100644 --- a/drivers/char/riscom8.c +++ b/drivers/char/riscom8.c @@ -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;