]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Bluetooth: Move amp.h header file into net/bluetooth/
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 21:54:14 +0000 (14:54 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Oct 2013 22:10:03 +0000 (00:10 +0200)
The amp.h header file is only used internally by the bluetooth.ko
module and is not a public API. So make it local to the core
Bluetooth module.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/a2mp.c
net/bluetooth/amp.c
net/bluetooth/amp.h [moved from include/net/bluetooth/amp.h with 100% similarity]
net/bluetooth/hci_event.c
net/bluetooth/l2cap_core.c

index b38d07477c20c40d7c2763d82f1e81c7d2a92397..9ae32cef1762b08edf19bee1f482a0f8ab2f3812 100644 (file)
@@ -16,7 +16,8 @@
 #include <net/bluetooth/hci_core.h>
 #include <net/bluetooth/l2cap.h>
 #include <net/bluetooth/a2mp.h>
-#include <net/bluetooth/amp.h>
+
+#include "amp.h"
 
 /* Global AMP Manager list */
 LIST_HEAD(amp_mgr_list);
index d459ed43c779d776e453634db290d08f48d5a7c7..b7b8f4eed6619c4871f2e1d8cf16b05d36aa5206 100644 (file)
 #include <net/bluetooth/hci.h>
 #include <net/bluetooth/hci_core.h>
 #include <net/bluetooth/a2mp.h>
-#include <net/bluetooth/amp.h>
 #include <crypto/hash.h>
 
+#include "amp.h"
+
 /* Remote AMP Controllers interface */
 void amp_ctrl_get(struct amp_ctrl *ctrl)
 {
index ada3bf4d7e2a1c22d77add2f026a09771766f456..67316b3e9304cd478e334ff779082429587c91c1 100644 (file)
@@ -30,7 +30,8 @@
 #include <net/bluetooth/hci_core.h>
 #include <net/bluetooth/mgmt.h>
 #include <net/bluetooth/a2mp.h>
-#include <net/bluetooth/amp.h>
+
+#include "amp.h"
 
 /* Handle HCI Event packets */
 
index 06e7173c2d13c26f5ed97dc7a04e972460f0ba21..09f6f61423ffe0dcaf233d1364bca3d3c9649cbd 100644 (file)
@@ -38,7 +38,8 @@
 #include <net/bluetooth/l2cap.h>
 #include <net/bluetooth/smp.h>
 #include <net/bluetooth/a2mp.h>
-#include <net/bluetooth/amp.h>
+
+#include "amp.h"
 
 bool disable_ertm;