diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-10 17:54:16 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-10 18:10:07 -0400 |
commit | ac4b7236610cef99821f40f44a74030b85d85270 (patch) | |
tree | b3750c1ddd6482bcd5012ae95f64c737517a6d72 | |
parent | 7024728ee534d739380dc4fd31f020cfc6e86c28 (diff) |
Bluetooth: Move smp.h header file into net/bluetooth/
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>
-rw-r--r-- | net/bluetooth/hci_conn.c | 2 | ||||
-rw-r--r-- | net/bluetooth/l2cap_core.c | 2 | ||||
-rw-r--r-- | net/bluetooth/l2cap_sock.c | 3 | ||||
-rw-r--r-- | net/bluetooth/mgmt.c | 3 | ||||
-rw-r--r-- | net/bluetooth/smp.c | 3 | ||||
-rw-r--r-- | net/bluetooth/smp.h (renamed from include/net/bluetooth/smp.h) | 0 |
6 files changed, 8 insertions, 5 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index 8141c8d83139..139587159200 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c | |||
@@ -28,8 +28,8 @@ | |||
28 | 28 | ||
29 | #include <net/bluetooth/bluetooth.h> | 29 | #include <net/bluetooth/bluetooth.h> |
30 | #include <net/bluetooth/hci_core.h> | 30 | #include <net/bluetooth/hci_core.h> |
31 | #include <net/bluetooth/smp.h> | ||
32 | 31 | ||
32 | #include "smp.h" | ||
33 | #include "a2mp.h" | 33 | #include "a2mp.h" |
34 | 34 | ||
35 | struct sco_param { | 35 | struct sco_param { |
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 947e18691e92..a7d10c3596e3 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -36,8 +36,8 @@ | |||
36 | #include <net/bluetooth/bluetooth.h> | 36 | #include <net/bluetooth/bluetooth.h> |
37 | #include <net/bluetooth/hci_core.h> | 37 | #include <net/bluetooth/hci_core.h> |
38 | #include <net/bluetooth/l2cap.h> | 38 | #include <net/bluetooth/l2cap.h> |
39 | #include <net/bluetooth/smp.h> | ||
40 | 39 | ||
40 | #include "smp.h" | ||
41 | #include "a2mp.h" | 41 | #include "a2mp.h" |
42 | #include "amp.h" | 42 | #include "amp.h" |
43 | 43 | ||
diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c index 1daa4c579eb2..69e42db8a707 100644 --- a/net/bluetooth/l2cap_sock.c +++ b/net/bluetooth/l2cap_sock.c | |||
@@ -32,7 +32,8 @@ | |||
32 | #include <net/bluetooth/bluetooth.h> | 32 | #include <net/bluetooth/bluetooth.h> |
33 | #include <net/bluetooth/hci_core.h> | 33 | #include <net/bluetooth/hci_core.h> |
34 | #include <net/bluetooth/l2cap.h> | 34 | #include <net/bluetooth/l2cap.h> |
35 | #include <net/bluetooth/smp.h> | 35 | |
36 | #include "smp.h" | ||
36 | 37 | ||
37 | static struct bt_sock_list l2cap_sk_list = { | 38 | static struct bt_sock_list l2cap_sk_list = { |
38 | .lock = __RW_LOCK_UNLOCKED(l2cap_sk_list.lock) | 39 | .lock = __RW_LOCK_UNLOCKED(l2cap_sk_list.lock) |
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 9a069b532bde..143dd7319981 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -30,7 +30,8 @@ | |||
30 | #include <net/bluetooth/bluetooth.h> | 30 | #include <net/bluetooth/bluetooth.h> |
31 | #include <net/bluetooth/hci_core.h> | 31 | #include <net/bluetooth/hci_core.h> |
32 | #include <net/bluetooth/mgmt.h> | 32 | #include <net/bluetooth/mgmt.h> |
33 | #include <net/bluetooth/smp.h> | 33 | |
34 | #include "smp.h" | ||
34 | 35 | ||
35 | #define MGMT_VERSION 1 | 36 | #define MGMT_VERSION 1 |
36 | #define MGMT_REVISION 4 | 37 | #define MGMT_REVISION 4 |
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 884b2081a262..9272094bd429 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c | |||
@@ -28,7 +28,8 @@ | |||
28 | #include <net/bluetooth/hci_core.h> | 28 | #include <net/bluetooth/hci_core.h> |
29 | #include <net/bluetooth/l2cap.h> | 29 | #include <net/bluetooth/l2cap.h> |
30 | #include <net/bluetooth/mgmt.h> | 30 | #include <net/bluetooth/mgmt.h> |
31 | #include <net/bluetooth/smp.h> | 31 | |
32 | #include "smp.h" | ||
32 | 33 | ||
33 | #define SMP_TIMEOUT msecs_to_jiffies(30000) | 34 | #define SMP_TIMEOUT msecs_to_jiffies(30000) |
34 | 35 | ||
diff --git a/include/net/bluetooth/smp.h b/net/bluetooth/smp.h index f8ba07f3e5fa..f8ba07f3e5fa 100644 --- a/include/net/bluetooth/smp.h +++ b/net/bluetooth/smp.h | |||