]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Bluetooth: Move A2MP_FEAT_EXT declaration into A2MP source
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 14 Feb 2015 21:36:03 +0000 (13:36 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Feb 2015 08:14:48 +0000 (10:14 +0200)
The A2MP_FEAT_EXT declaration has a single user in a2mp.c and thus
just move it there.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/a2mp.c
net/bluetooth/a2mp.h

index cedfbda15dad8514b606d3f62c86c81352f6c09d..6baa78a4e76ce1d2b1644219bc87c65998505223 100644 (file)
@@ -19,6 +19,8 @@
 #include "a2mp.h"
 #include "amp.h"
 
+#define A2MP_FEAT_EXT  0x8000
+
 /* Global AMP Manager list */
 LIST_HEAD(amp_mgr_list);
 DEFINE_MUTEX(amp_mgr_list_lock);
index 487b54c1308fdec26ddc48e46b4973200b45022a..5c0a36b7ecc4b1984295a3edf1fea7fd0a54e6af 100644 (file)
@@ -17,8 +17,6 @@
 
 #include <net/bluetooth/l2cap.h>
 
-#define A2MP_FEAT_EXT  0x8000
-
 enum amp_mgr_state {
        READ_LOC_AMP_INFO,
        READ_LOC_AMP_ASSOC,