OSDN Git Service

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 cedfbda..6baa78a 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 487b54c..5c0a36b 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,