git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Convert users to tty_unregister_ldisc()
[safe/jmp/linux-2.6]
/
drivers
/
bluetooth
/
hci_ldisc.c
diff --git
a/drivers/bluetooth/hci_ldisc.c
b/drivers/bluetooth/hci_ldisc.c
index
9075bbb
..
f766bc2
100644
(file)
--- a/
drivers/bluetooth/hci_ldisc.c
+++ b/
drivers/bluetooth/hci_ldisc.c
@@
-576,7
+576,7
@@
static void __exit hci_uart_exit(void)
#endif
/* Release tty registration of line discipline */
- if ((err = tty_
register_ldisc(N_HCI, NULL
)))
+ if ((err = tty_
unregister_ldisc(N_HCI
)))
BT_ERR("Can't unregister HCI line discipline (%d)", err);
}