diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-02-07 00:16:36 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 08:42:33 -0800 |
commit | 1386a820b32285583414a8db3a99305e7ebe8377 (patch) | |
tree | 2d157cfb642b2e428831ff16fd88e8f519c857be /drivers/char/riscom8.c | |
parent | 319fe7c347ad2bdd99ea9b62c65ca81584ed2e1c (diff) | |
download | op-kernel-dev-1386a820b32285583414a8db3a99305e7ebe8377.zip op-kernel-dev-1386a820b32285583414a8db3a99305e7ebe8377.tar.gz |
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 <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/riscom8.c')
-rw-r--r-- | drivers/char/riscom8.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |