Commit bc333cc4 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Johan Hedberg

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: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 469cd4c5
...@@ -45,7 +45,7 @@ static struct a2mp_cmd *__a2mp_build(u8 code, u8 ident, u16 len, void *data) ...@@ -45,7 +45,7 @@ static struct a2mp_cmd *__a2mp_build(u8 code, u8 ident, u16 len, void *data)
return cmd; return cmd;
} }
void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data) static void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data)
{ {
struct l2cap_chan *chan = mgr->a2mp_chan; struct l2cap_chan *chan = mgr->a2mp_chan;
struct a2mp_cmd *cmd; struct a2mp_cmd *cmd;
......
...@@ -134,7 +134,6 @@ int amp_mgr_put(struct amp_mgr *mgr); ...@@ -134,7 +134,6 @@ int amp_mgr_put(struct amp_mgr *mgr);
u8 __next_ident(struct amp_mgr *mgr); u8 __next_ident(struct amp_mgr *mgr);
struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn,
struct sk_buff *skb); struct sk_buff *skb);
void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data);
void a2mp_discover_amp(struct l2cap_chan *chan); void a2mp_discover_amp(struct l2cap_chan *chan);
void a2mp_send_getinfo_rsp(struct hci_dev *hdev); void a2mp_send_getinfo_rsp(struct hci_dev *hdev);
void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status); void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment