Bluetooth: Always use full path to hci_driver.h
The path to include/drivers should not be in the compiler include path list, only include/. In order to make this possible, always explictly refer to hci_driver.h via the drivers/bluetooth/ path and not only bluetooth/. Fixes #21974. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
6d0deba1d0
commit
6cf7ac77bf
15 changed files with 15 additions and 15 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_driver
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_driver
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <init.h>
|
||||
#include <sys/util.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include "bluetooth/addr.h"
|
||||
|
||||
#include "app_conf.h"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_hci_driver
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <sys/util.h>
|
||||
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_driver
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_driver
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/uuid.h>
|
||||
#include <bluetooth/gatt.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_ATT)
|
||||
#define LOG_MODULE_NAME bt_att
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <bluetooth/att.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_CONN)
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/uuid.h>
|
||||
#include <bluetooth/gatt.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_GATT)
|
||||
#define LOG_MODULE_NAME bt_gatt
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <bluetooth/l2cap.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/hci_vs.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_CORE)
|
||||
#define LOG_MODULE_NAME bt_hci_core
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_CORE)
|
||||
#define LOG_MODULE_NAME bt_hci_ecc
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <errno.h>
|
||||
#include <sys/atomic.h>
|
||||
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <bluetooth/hci_raw.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_CORE)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_L2CAP)
|
||||
#define LOG_MODULE_NAME bt_l2cap
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_L2CAP)
|
||||
#define LOG_MODULE_NAME bt_l2cap_br
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/hci_driver.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <bluetooth/l2cap.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_RFCOMM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue