diff options
Diffstat (limited to 'drivers/bluetooth/hci_ll.c')
-rw-r--r-- | drivers/bluetooth/hci_ll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c index fb8445c7365e..38595e782d02 100644 --- a/drivers/bluetooth/hci_ll.c +++ b/drivers/bluetooth/hci_ll.c | |||
@@ -74,7 +74,7 @@ enum hcill_states_e { | |||
74 | 74 | ||
75 | struct hcill_cmd { | 75 | struct hcill_cmd { |
76 | u8 cmd; | 76 | u8 cmd; |
77 | } __attribute__((packed)); | 77 | } __packed; |
78 | 78 | ||
79 | struct ll_struct { | 79 | struct ll_struct { |
80 | unsigned long rx_state; | 80 | unsigned long rx_state; |
@@ -517,7 +517,7 @@ static struct hci_uart_proto llp = { | |||
517 | .flush = ll_flush, | 517 | .flush = ll_flush, |
518 | }; | 518 | }; |
519 | 519 | ||
520 | int ll_init(void) | 520 | int __init ll_init(void) |
521 | { | 521 | { |
522 | int err = hci_uart_register_proto(&llp); | 522 | int err = hci_uart_register_proto(&llp); |
523 | 523 | ||
@@ -529,7 +529,7 @@ int ll_init(void) | |||
529 | return err; | 529 | return err; |
530 | } | 530 | } |
531 | 531 | ||
532 | int ll_deinit(void) | 532 | int __exit ll_deinit(void) |
533 | { | 533 | { |
534 | return hci_uart_unregister_proto(&llp); | 534 | return hci_uart_unregister_proto(&llp); |
535 | } | 535 | } |