From: Gustavo F. Padovan Date: Sat, 31 Jul 2010 22:57:05 +0000 (-0300) Subject: Bluetooth: Remove __exit from rfcomm_cleanup_ttys() X-Git-Tag: v2.6.36-rc1~43^2~34^2~7^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28e9509b1270e5cfa8bb3c5ff51f39214aa09262;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git Bluetooth: Remove __exit from rfcomm_cleanup_ttys() rfcomm_cleanup_ttys() is also called from rfcomm_init(), so it can't have __exit. Reported-by: Mat Martineau Signed-off-by: Gustavo F. Padovan Signed-off-by: Marcel Holtmann --- diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c index 026205c..befc3a5 100644 --- 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);