diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-07-24 02:04:44 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-27 12:35:58 -0700 |
commit | f2b94bb9e0b8bd048331a6e9d616e918f4bcbd97 (patch) | |
tree | a13f7b9b3b748e309e25a158e7925b080aaa05ed /drivers/bluetooth/hci_ll.c | |
parent | e9da101f6d0c9a8fda9f78a80365ba2a9f75603f (diff) | |
download | kernel_samsung_aries-f2b94bb9e0b8bd048331a6e9d616e918f4bcbd97.zip kernel_samsung_aries-f2b94bb9e0b8bd048331a6e9d616e918f4bcbd97.tar.gz kernel_samsung_aries-f2b94bb9e0b8bd048331a6e9d616e918f4bcbd97.tar.bz2 |
Bluetooth: Add __init and __exit marks to UART drivers
Those marks are useful to save space in the binary and in the memory.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_ll.c')
-rw-r--r-- | drivers/bluetooth/hci_ll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c index 5744aba..38595e7 100644 --- a/drivers/bluetooth/hci_ll.c +++ b/drivers/bluetooth/hci_ll.c @@ -517,7 +517,7 @@ static struct hci_uart_proto llp = { .flush = ll_flush, }; -int ll_init(void) +int __init ll_init(void) { int err = hci_uart_register_proto(&llp); @@ -529,7 +529,7 @@ int ll_init(void) return err; } -int ll_deinit(void) +int __exit ll_deinit(void) { return hci_uart_unregister_proto(&llp); } |