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>
This commit is contained in:
Gustavo F. Padovan
2010-07-24 02:04:44 -03:00
committed by Marcel Holtmann
parent e9da101f6d
commit f2b94bb9e0
4 changed files with 8 additions and 8 deletions

View File

@@ -217,7 +217,7 @@ static struct hci_uart_proto athp = {
.flush = ath_flush,
};
int ath_init(void)
int __init ath_init(void)
{
int err = hci_uart_register_proto(&athp);
@@ -229,7 +229,7 @@ int ath_init(void)
return err;
}
int ath_deinit(void)
int __exit ath_deinit(void)
{
return hci_uart_unregister_proto(&athp);
}