Commit:     1386a820b32285583414a8db3a99305e7ebe8377
Parent:     319fe7c347ad2bdd99ea9b62c65ca81584ed2e1c
Author:     Jiri Slaby <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 7 00:16:36 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Feb 7 08:42:33 2008 -0800

    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 <[EMAIL PROTECTED]>
    Cc: Alan Cox <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to