projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
319fe7c
)
Char: riscom8, change rc_init_drivers prototype
author
Jiri Slaby
<jirislaby@gmail.com>
Thu, 7 Feb 2008 08:16:36 +0000
(
00:16
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:33 +0000
(08:42 -0800)
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>
drivers/char/riscom8.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/riscom8.c
b/drivers/char/riscom8.c
index d130b87d8ed793186e63e13dbb7fc139378076b7..9b19abf29a2b1ad1f22db65d31a3524f4c98d777 100644
(file)
--- 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 in
line in
t rc_init_drivers(void)
+static in
t __ini
t rc_init_drivers(void)
{
int error;
int i;