aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ath.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-07-24 01:04:44 -0400
committerMarcel Holtmann <marcel@holtmann.org>2010-07-27 15:35:58 -0400
commitf2b94bb9e0b8bd048331a6e9d616e918f4bcbd97 (patch)
treea13f7b9b3b748e309e25a158e7925b080aaa05ed /drivers/bluetooth/hci_ath.c
parente9da101f6d0c9a8fda9f78a80365ba2a9f75603f (diff)
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_ath.c')
-rw-r--r--drivers/bluetooth/hci_ath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/hci_ath.c b/drivers/bluetooth/hci_ath.c
index 5ab258bccccb..b941dd5dc981 100644
--- a/drivers/bluetooth/hci_ath.c
+++ b/drivers/bluetooth/hci_ath.c
@@ -217,7 +217,7 @@ static struct hci_uart_proto athp = {
217 .flush = ath_flush, 217 .flush = ath_flush,
218}; 218};
219 219
220int ath_init(void) 220int __init ath_init(void)
221{ 221{
222 int err = hci_uart_register_proto(&athp); 222 int err = hci_uart_register_proto(&athp);
223 223
@@ -229,7 +229,7 @@ int ath_init(void)
229 return err; 229 return err;
230} 230}
231 231
232int ath_deinit(void) 232int __exit ath_deinit(void)
233{ 233{
234 return hci_uart_unregister_proto(&athp); 234 return hci_uart_unregister_proto(&athp);
235} 235}