mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[Bluetooth] Make more functions static
This patch makes another bunch of functions static. Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
0372a6627f
commit
6516455d3b
3 changed files with 8 additions and 8 deletions
|
|
@ -308,12 +308,6 @@ static struct net_proto_family bt_sock_family_ops = {
|
|||
.create = bt_sock_create,
|
||||
};
|
||||
|
||||
extern int hci_sock_init(void);
|
||||
extern int hci_sock_cleanup(void);
|
||||
|
||||
extern int bt_sysfs_init(void);
|
||||
extern int bt_sysfs_cleanup(void);
|
||||
|
||||
static int __init bt_init(void)
|
||||
{
|
||||
BT_INFO("Core ver %s", VERSION);
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ int hci_unregister_notifier(struct notifier_block *nb)
|
|||
return notifier_chain_unregister(&hci_notifier, nb);
|
||||
}
|
||||
|
||||
void hci_notify(struct hci_dev *hdev, int event)
|
||||
static void hci_notify(struct hci_dev *hdev, int event)
|
||||
{
|
||||
notifier_call_chain(&hci_notifier, event, hdev);
|
||||
}
|
||||
|
|
@ -1347,7 +1347,7 @@ static inline void hci_scodata_packet(struct hci_dev *hdev, struct sk_buff *skb)
|
|||
kfree_skb(skb);
|
||||
}
|
||||
|
||||
void hci_rx_task(unsigned long arg)
|
||||
static void hci_rx_task(unsigned long arg)
|
||||
{
|
||||
struct hci_dev *hdev = (struct hci_dev *) arg;
|
||||
struct sk_buff *skb;
|
||||
|
|
|
|||
Loading…
Reference in a new issue