diff options
author | Johannes Berg | 2011-06-01 08:54:45 +0200 |
---|---|---|
committer | Gustavo F. Padovan | 2011-06-08 21:58:18 +0200 |
commit | b5ad8b7f8c3f3711129d67aeda85ceec690c3cd0 (patch) | |
tree | 808c8160d48176bff3a9594d60f565b98f47acf3 /net/bluetooth/l2cap_core.c | |
parent | Bluetooth: Set 'peer_addr_type' in hci_le_connect() (diff) | |
download | kernel-qcow2-linux-b5ad8b7f8c3f3711129d67aeda85ceec690c3cd0.tar.gz kernel-qcow2-linux-b5ad8b7f8c3f3711129d67aeda85ceec690c3cd0.tar.xz kernel-qcow2-linux-b5ad8b7f8c3f3711129d67aeda85ceec690c3cd0.zip |
Bluetooth: fix sparse & gcc warnings
sparse complains about a few things that should
be static.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index c630a0e8c5f9..bb6be6377891 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -62,8 +62,8 @@ static u8 l2cap_fixed_chan[8] = { 0x02, }; static struct workqueue_struct *_busy_wq; -LIST_HEAD(chan_list); -DEFINE_RWLOCK(chan_list_lock); +static LIST_HEAD(chan_list); +static DEFINE_RWLOCK(chan_list_lock); static void l2cap_busy_work(struct work_struct *work); @@ -500,7 +500,7 @@ static inline int l2cap_check_security(struct l2cap_chan *chan) return hci_conn_security(conn->hcon, chan->sec_level, auth_type); } -u8 l2cap_get_ident(struct l2cap_conn *conn) +static u8 l2cap_get_ident(struct l2cap_conn *conn) { u8 id; |