summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_bcsp.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-07-24 07:04:44 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-07-27 21:35:58 +0200
commitf2b94bb9e0b8bd048331a6e9d616e918f4bcbd97 (patch)
treea13f7b9b3b748e309e25a158e7925b080aaa05ed /drivers/bluetooth/hci_bcsp.c
parentBluetooth: Use hci_recv_stream_fragment() in UART driver (diff)
downloadlinux-f2b94bb9e0b8bd048331a6e9d616e918f4bcbd97.tar.xz
linux-f2b94bb9e0b8bd048331a6e9d616e918f4bcbd97.zip
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_bcsp.c')
-rw-r--r--drivers/bluetooth/hci_bcsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/hci_bcsp.c b/drivers/bluetooth/hci_bcsp.c
index 42d69d4de05c..9c5b2dc38e29 100644
--- a/drivers/bluetooth/hci_bcsp.c
+++ b/drivers/bluetooth/hci_bcsp.c
@@ -739,7 +739,7 @@ static struct hci_uart_proto bcsp = {
.flush = bcsp_flush
};
-int bcsp_init(void)
+int __init bcsp_init(void)
{
int err = hci_uart_register_proto(&bcsp);
@@ -751,7 +751,7 @@ int bcsp_init(void)
return err;
}
-int bcsp_deinit(void)
+int __exit bcsp_deinit(void)
{
return hci_uart_unregister_proto(&bcsp);
}