Skip to content

Commit

Permalink
Bluetooth: Move amp.h header file into net/bluetooth/
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marcel Holtmann authored and Johan Hedberg committed Oct 10, 2013
1 parent 324d36e commit 7ef9fbf
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion net/bluetooth/a2mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion net/bluetooth/amp.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
#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)
{
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion net/bluetooth/hci_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
3 changes: 2 additions & 1 deletion net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7ef9fbf

Please sign in to comment.