diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-02-14 16:36:06 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-15 03:14:52 -0500 |
commit | bc333cc4659b2f4614783154aca638a2adcf1264 (patch) | |
tree | de42954f22b238a8d1fb6040a6e0561688e80bb7 /net/bluetooth | |
parent | 469cd4c5a6ace7c6285d8708709d0002b8984d47 (diff) |
Bluetooth: Make a2mp_send function static
The a2mp_send function is a local function and so do not export it
and make it static.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/a2mp.c | 2 | ||||
-rw-r--r-- | net/bluetooth/a2mp.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index 6bba3044dc7f..cfc8fe1ee09b 100644 --- a/net/bluetooth/a2mp.c +++ b/net/bluetooth/a2mp.c | |||
@@ -45,7 +45,7 @@ static struct a2mp_cmd *__a2mp_build(u8 code, u8 ident, u16 len, void *data) | |||
45 | return cmd; | 45 | return cmd; |
46 | } | 46 | } |
47 | 47 | ||
48 | void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data) | 48 | static void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data) |
49 | { | 49 | { |
50 | struct l2cap_chan *chan = mgr->a2mp_chan; | 50 | struct l2cap_chan *chan = mgr->a2mp_chan; |
51 | struct a2mp_cmd *cmd; | 51 | struct a2mp_cmd *cmd; |
diff --git a/net/bluetooth/a2mp.h b/net/bluetooth/a2mp.h index 652117ebf2a5..41f9fbc26c29 100644 --- a/net/bluetooth/a2mp.h +++ b/net/bluetooth/a2mp.h | |||
@@ -134,7 +134,6 @@ int amp_mgr_put(struct amp_mgr *mgr); | |||
134 | u8 __next_ident(struct amp_mgr *mgr); | 134 | u8 __next_ident(struct amp_mgr *mgr); |
135 | struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, | 135 | struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, |
136 | struct sk_buff *skb); | 136 | struct sk_buff *skb); |
137 | void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data); | ||
138 | void a2mp_discover_amp(struct l2cap_chan *chan); | 137 | void a2mp_discover_amp(struct l2cap_chan *chan); |
139 | void a2mp_send_getinfo_rsp(struct hci_dev *hdev); | 138 | void a2mp_send_getinfo_rsp(struct hci_dev *hdev); |
140 | void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status); | 139 | void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status); |