projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4bd8b
)
Bluetooth: Remove __exit from rfcomm_cleanup_ttys()
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Sat, 31 Jul 2010 22:57:05 +0000
(19:57 -0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 31 Jul 2010 23:09:21 +0000
(16:09 -0700)
rfcomm_cleanup_ttys() is also called from rfcomm_init(), so it can't
have __exit.
Reported-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/rfcomm/tty.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/rfcomm/tty.c
b/net/bluetooth/rfcomm/tty.c
index
026205c
..
befc3a5
100644
(file)
--- a/
net/bluetooth/rfcomm/tty.c
+++ b/
net/bluetooth/rfcomm/tty.c
@@
-1183,7
+1183,7
@@
int __init rfcomm_init_ttys(void)
return 0;
}
-void
__exit
rfcomm_cleanup_ttys(void)
+void rfcomm_cleanup_ttys(void)
{
tty_unregister_driver(rfcomm_tty_driver);
put_tty_driver(rfcomm_tty_driver);