From: Marcel Holtmann Date: Thu, 10 Oct 2013 21:54:14 +0000 (-0700) Subject: Bluetooth: Move amp.h header file into net/bluetooth/ X-Git-Tag: v3.13-rc1~105^2~23^2^2~61^2~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ef9fbf08818fa1cb8ae89fca29f193dd78d5dd8;p=profile%2Fcommon%2Fkernel-common.git 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: Marcel Holtmann Signed-off-by: Johan Hedberg --- diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index b38d074..9ae32ce 100644 --- a/net/bluetooth/a2mp.c +++ b/net/bluetooth/a2mp.c @@ -16,7 +16,8 @@ #include #include #include -#include + +#include "amp.h" /* Global AMP Manager list */ LIST_HEAD(amp_mgr_list); diff --git a/net/bluetooth/amp.c b/net/bluetooth/amp.c index d459ed4..b7b8f4e 100644 --- a/net/bluetooth/amp.c +++ b/net/bluetooth/amp.c @@ -15,9 +15,10 @@ #include #include #include -#include #include +#include "amp.h" + /* Remote AMP Controllers interface */ void amp_ctrl_get(struct amp_ctrl *ctrl) { diff --git a/include/net/bluetooth/amp.h b/net/bluetooth/amp.h similarity index 100% rename from include/net/bluetooth/amp.h rename to net/bluetooth/amp.h diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index ada3bf4..67316b3 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -30,7 +30,8 @@ #include #include #include -#include + +#include "amp.h" /* Handle HCI Event packets */ diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 06e7173..09f6f61 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -38,7 +38,8 @@ #include #include #include -#include + +#include "amp.h" bool disable_ertm;