diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-02-07 03:16:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 11:42:33 -0500 |
commit | 1386a820b32285583414a8db3a99305e7ebe8377 (patch) | |
tree | 2d157cfb642b2e428831ff16fd88e8f519c857be /drivers/char/riscom8.c | |
parent | 319fe7c347ad2bdd99ea9b62c65ca81584ed2e1c (diff) |
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 d130b87d8ed7..9b19abf29a2b 100644 --- a/drivers/char/riscom8.c +++ b/drivers/char/riscom8.c | |||
@@ -1618,7 +1618,7 @@ static const struct tty_operations riscom_ops = { | |||
1618 | .tiocmset = rc_tiocmset, | 1618 | .tiocmset = rc_tiocmset, |
1619 | }; | 1619 | }; |
1620 | 1620 | ||
1621 | static inline int rc_init_drivers(void) | 1621 | static int __init rc_init_drivers(void) |
1622 | { | 1622 | { |
1623 | int error; | 1623 | int error; |
1624 | int i; | 1624 | int i; |