]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Bluetooth: Move smp.h header file into net/bluetooth/
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 21:54:16 +0000 (14:54 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Oct 2013 22:10:07 +0000 (00:10 +0200)
The smp.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/hci_conn.c
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c
net/bluetooth/mgmt.c
net/bluetooth/smp.c
net/bluetooth/smp.h [moved from include/net/bluetooth/smp.h with 100% similarity]

index 8141c8d8313963350ceb902eb1f8b5d0f463b1ae..139587159200f86cf1c315d051a061e0961b3d0e 100644 (file)
@@ -28,8 +28,8 @@
 
 #include <net/bluetooth/bluetooth.h>
 #include <net/bluetooth/hci_core.h>
-#include <net/bluetooth/smp.h>
 
+#include "smp.h"
 #include "a2mp.h"
 
 struct sco_param {
index 947e18691e927c597f2e03f4c2a87d3222e79d3f..a7d10c3596e38e73770ec4ee2d7d5dbebb711869 100644 (file)
@@ -36,8 +36,8 @@
 #include <net/bluetooth/bluetooth.h>
 #include <net/bluetooth/hci_core.h>
 #include <net/bluetooth/l2cap.h>
-#include <net/bluetooth/smp.h>
 
+#include "smp.h"
 #include "a2mp.h"
 #include "amp.h"
 
index 1daa4c579eb232e272bcd1247a54077b89b17693..69e42db8a707078e1aa8cde747f7e07a81d73991 100644 (file)
@@ -32,7 +32,8 @@
 #include <net/bluetooth/bluetooth.h>
 #include <net/bluetooth/hci_core.h>
 #include <net/bluetooth/l2cap.h>
-#include <net/bluetooth/smp.h>
+
+#include "smp.h"
 
 static struct bt_sock_list l2cap_sk_list = {
        .lock = __RW_LOCK_UNLOCKED(l2cap_sk_list.lock)
index 9a069b532bde7ca485e1fa419cdd2a92125bdcf9..143dd731998106abdedced6fb018828292bc3128 100644 (file)
@@ -30,7 +30,8 @@
 #include <net/bluetooth/bluetooth.h>
 #include <net/bluetooth/hci_core.h>
 #include <net/bluetooth/mgmt.h>
-#include <net/bluetooth/smp.h>
+
+#include "smp.h"
 
 #define MGMT_VERSION   1
 #define MGMT_REVISION  4
index 884b2081a262ae14e7b044d4e3b825c686cc42a4..9272094bd429c5cbd66599a9ad7b13c24789ef10 100644 (file)
@@ -28,7 +28,8 @@
 #include <net/bluetooth/hci_core.h>
 #include <net/bluetooth/l2cap.h>
 #include <net/bluetooth/mgmt.h>
-#include <net/bluetooth/smp.h>
+
+#include "smp.h"
 
 #define SMP_TIMEOUT    msecs_to_jiffies(30000)