summaryrefslogtreecommitdiff
path: root/net/bluetooth/a2mp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-02-14 13:36:04 -0800
committerJohan Hedberg <johan.hedberg@intel.com>2015-02-15 10:14:49 +0200
commit59d4d0863e2e87cbdc089bd446754d64a010d29c (patch)
tree767ed79828895dd122dc537833ac1a420f55d2f5 /net/bluetooth/a2mp.c
parent055540a176c48b33dbb4d756e80e1e301ef86a42 (diff)
downloadlinux-59d4d0863e2e87cbdc089bd446754d64a010d29c.tar.gz
linux-59d4d0863e2e87cbdc089bd446754d64a010d29c.tar.xz
Bluetooth: Make amp_mgr_list and amp_mgr_list_lock static
There is no reason to have amp_mgr_list and amp_mgr_list_lock exported from a2mp.c and thus make both of them static. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/a2mp.c')
-rw-r--r--net/bluetooth/a2mp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c
index 6baa78a4e76c..e4f179117ae2 100644
--- a/net/bluetooth/a2mp.c
+++ b/net/bluetooth/a2mp.c
@@ -22,8 +22,8 @@
#define A2MP_FEAT_EXT 0x8000
/* Global AMP Manager list */
-LIST_HEAD(amp_mgr_list);
-DEFINE_MUTEX(amp_mgr_list_lock);
+static LIST_HEAD(amp_mgr_list);
+static DEFINE_MUTEX(amp_mgr_list_lock);
/* A2MP build & send command helper functions */
static struct a2mp_cmd *__a2mp_build(u8 code, u8 ident, u16 len, void *data)