Messages in this thread Patch in this message | | | Subject | [PATCH 7/7] Char: riscom8, change rc_init_drivers prototype | From | Jiri Slaby <> | Date | Fri, 9 Nov 2007 18:38:48 -0500 |
| |
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>
--- commit da1c9104ea38d0ca6e5ce0ee9be8cb6adff0ee71 tree 6878cf4f80d1e7bd4aa81a188dff5d13761ed867 parent 7a411a4d1729e34bd7dc6697a8eedec7dd989c32 author Jiri Slaby <jirislaby@gmail.com> Sat, 27 Oct 2007 00:31:26 +0200 committer Jiri Slaby <jirislaby@gmail.com> Fri, 09 Nov 2007 22:40:52 +0100
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 linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |