From: Jiri Slaby Date: Thu, 7 Feb 2008 08:16:36 +0000 (-0800) Subject: Char: riscom8, change rc_init_drivers prototype X-Git-Tag: v2.6.25-rc1~318 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1386a820b32285583414a8db3a99305e7ebe8377;p=linux-2.6-omap-h63xx.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 d130b87d8ed..9b19abf29a2 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;