From: Jiri Slaby Date: Thu, 7 Feb 2008 08:16:36 +0000 (-0800) Subject: Char: riscom8, change rc_init_drivers prototype X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1386a820b32285583414a8db3a99305e7ebe8377;p=openwrt%2Fstaging%2Fblogic.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 d130b87d8ed7..9b19abf29a2b 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;