Commit 7ef9fbf0 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Johan Hedberg

Bluetooth: Move amp.h header file into net/bluetooth/

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: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 324d36ed
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
#include <net/bluetooth/hci_core.h> #include <net/bluetooth/hci_core.h>
#include <net/bluetooth/l2cap.h> #include <net/bluetooth/l2cap.h>
#include <net/bluetooth/a2mp.h> #include <net/bluetooth/a2mp.h>
#include <net/bluetooth/amp.h>
#include "amp.h"
/* Global AMP Manager list */ /* Global AMP Manager list */
LIST_HEAD(amp_mgr_list); LIST_HEAD(amp_mgr_list);
......
...@@ -15,9 +15,10 @@ ...@@ -15,9 +15,10 @@
#include <net/bluetooth/hci.h> #include <net/bluetooth/hci.h>
#include <net/bluetooth/hci_core.h> #include <net/bluetooth/hci_core.h>
#include <net/bluetooth/a2mp.h> #include <net/bluetooth/a2mp.h>
#include <net/bluetooth/amp.h>
#include <crypto/hash.h> #include <crypto/hash.h>
#include "amp.h"
/* Remote AMP Controllers interface */ /* Remote AMP Controllers interface */
void amp_ctrl_get(struct amp_ctrl *ctrl) void amp_ctrl_get(struct amp_ctrl *ctrl)
{ {
......
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
#include <net/bluetooth/hci_core.h> #include <net/bluetooth/hci_core.h>
#include <net/bluetooth/mgmt.h> #include <net/bluetooth/mgmt.h>
#include <net/bluetooth/a2mp.h> #include <net/bluetooth/a2mp.h>
#include <net/bluetooth/amp.h>
#include "amp.h"
/* Handle HCI Event packets */ /* Handle HCI Event packets */
......
...@@ -38,7 +38,8 @@ ...@@ -38,7 +38,8 @@
#include <net/bluetooth/l2cap.h> #include <net/bluetooth/l2cap.h>
#include <net/bluetooth/smp.h> #include <net/bluetooth/smp.h>
#include <net/bluetooth/a2mp.h> #include <net/bluetooth/a2mp.h>
#include <net/bluetooth/amp.h>
#include "amp.h"
bool disable_ertm; bool disable_ertm;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment