Skip to content

Commit

Permalink
subsystems: migrate includes to <zephyr/...>
Browse files Browse the repository at this point in the history
In order to bring consistency in-tree, migrate all subsystems code to
the new prefix <zephyr/...>. Note that the conversion has been scripted,
refer to zephyrproject-rtos#45388 for more details.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
  • Loading branch information
gmarull authored and carlescufi committed May 9, 2022
1 parent 3702f72 commit 5113c14
Show file tree
Hide file tree
Showing 726 changed files with 2,969 additions and 2,969 deletions.
18 changes: 9 additions & 9 deletions subsys/bluetooth/audio/aics.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <sys/byteorder.h>
#include <sys/check.h>
#include <zephyr/zephyr.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/check.h>

#include <device.h>
#include <init.h>
#include <zephyr/device.h>
#include <zephyr/init.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/conn.h>
#include <bluetooth/gatt.h>
#include <bluetooth/audio/aics.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/audio/aics.h>

#include "aics_internal.h"

Expand Down
18 changes: 9 additions & 9 deletions subsys/bluetooth/audio/aics_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <zephyr/zephyr.h>
#include <zephyr/types.h>

#include <sys/check.h>
#include <zephyr/sys/check.h>

#include <device.h>
#include <init.h>
#include <zephyr/device.h>
#include <zephyr/init.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/l2cap.h>
#include <bluetooth/conn.h>
#include <bluetooth/gatt.h>
#include <bluetooth/audio/aics.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/l2cap.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/audio/aics.h>

#include "aics_internal.h"

Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/audio/aics_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_AICS_INTERNAL_
#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_AICS_INTERNAL_
#include <zephyr/types.h>
#include <bluetooth/gatt.h>
#include <zephyr/bluetooth/gatt.h>

#if defined(CONFIG_BT_AICS)
#define BT_AICS_MAX_DESC_SIZE CONFIG_BT_AICS_MAX_INPUT_DESCRIPTION_SIZE
Expand Down
18 changes: 9 additions & 9 deletions subsys/bluetooth/audio/ascs.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <sys/byteorder.h>
#include <sys/check.h>
#include <zephyr/zephyr.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/check.h>

#include <device.h>
#include <init.h>
#include <zephyr/device.h>
#include <zephyr/init.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/conn.h>
#include <bluetooth/gatt.h>
#include <bluetooth/audio/audio.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/audio/audio.h>

#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_ASCS)
#define LOG_MODULE_NAME bt_ascs
Expand Down
18 changes: 9 additions & 9 deletions subsys/bluetooth/audio/bass.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <sys/byteorder.h>
#include <zephyr/zephyr.h>
#include <zephyr/sys/byteorder.h>

#include <device.h>
#include <init.h>
#include <zephyr/device.h>
#include <zephyr/init.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/conn.h>
#include <bluetooth/iso.h>
#include <bluetooth/gatt.h>
#include <bluetooth/buf.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/iso.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/buf.h>

#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_BASS)
#define LOG_MODULE_NAME bt_bass
Expand Down
18 changes: 9 additions & 9 deletions subsys/bluetooth/audio/bass_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <zephyr/zephyr.h>
#include <zephyr/types.h>

#include <device.h>
#include <init.h>
#include <zephyr/device.h>
#include <zephyr/init.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/conn.h>
#include <bluetooth/gatt.h>
#include <bluetooth/buf.h>
#include <sys/byteorder.h>
#include <sys/check.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/buf.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/check.h>

#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_BASS_CLIENT)
#define LOG_MODULE_NAME bt_bass_client
Expand Down
4 changes: 2 additions & 2 deletions subsys/bluetooth/audio/bass_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
*/

#include <zephyr/types.h>
#include <bluetooth/conn.h>
#include <bluetooth/audio/bass.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/audio/bass.h>

#define BT_BASS_SCAN_STATE_NOT_SCANNING 0x00
#define BT_BASS_SCAN_STATE_SCANNING 0x01
Expand Down
16 changes: 8 additions & 8 deletions subsys/bluetooth/audio/broadcast_sink.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <sys/byteorder.h>
#include <sys/check.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/conn.h>
#include <bluetooth/gatt.h>
#include <bluetooth/audio/audio.h>
#include <zephyr/zephyr.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/check.h>

#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/audio/audio.h>

#include "../host/conn_internal.h"
#include "../host/iso_internal.h"
Expand Down
16 changes: 8 additions & 8 deletions subsys/bluetooth/audio/broadcast_source.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <sys/byteorder.h>
#include <sys/check.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/conn.h>
#include <bluetooth/gatt.h>
#include <bluetooth/audio/audio.h>
#include <zephyr/zephyr.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/check.h>

#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/audio/audio.h>

#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_AUDIO_DEBUG_BROADCAST_SOURCE)
#define LOG_MODULE_NAME bt_audio_broadcast_source
Expand Down
18 changes: 9 additions & 9 deletions subsys/bluetooth/audio/capabilities.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <sys/byteorder.h>
#include <zephyr/zephyr.h>
#include <zephyr/sys/byteorder.h>

#include <device.h>
#include <init.h>
#include <zephyr/device.h>
#include <zephyr/init.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/conn.h>
#include <bluetooth/gatt.h>
#include <bluetooth/audio/audio.h>
#include <bluetooth/audio/capabilities.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/audio/audio.h>
#include <zephyr/bluetooth/audio/capabilities.h>

#include "pacs_internal.h"

Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/audio/ccid_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_CCID_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_CCID_H_

#include <device.h>
#include <zephyr/device.h>
#include <zephyr/types.h>

/**
Expand Down
6 changes: 3 additions & 3 deletions subsys/bluetooth/audio/codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
* Generic Audio.
*/

#include <bluetooth/audio/audio.h>
#include <sys/byteorder.h>
#include <sys/check.h>
#include <zephyr/bluetooth/audio/audio.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/check.h>

#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_AUDIO)
#define LOG_MODULE_NAME bt_audio
Expand Down
18 changes: 9 additions & 9 deletions subsys/bluetooth/audio/csis.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <zephyr/zephyr.h>
#include <zephyr/types.h>

#include <device.h>
#include <init.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <stdlib.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/conn.h>
#include <bluetooth/gatt.h>
#include <bluetooth/buf.h>
#include <sys/byteorder.h>
#include <sys/check.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/buf.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/check.h>
#include "csis_internal.h"
#include "csis_crypto.h"
#include "../host/conn_internal.h"
Expand Down
20 changes: 10 additions & 10 deletions subsys/bluetooth/audio/csis_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
* 10) Unlock all members
*/

#include <zephyr.h>
#include <zephyr/zephyr.h>
#include <zephyr/types.h>

#include <device.h>
#include <init.h>
#include <sys/check.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/sys/check.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/conn.h>
#include <bluetooth/gatt.h>
#include <bluetooth/buf.h>
#include <sys/byteorder.h>
#include <bluetooth/audio/csis.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/buf.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/bluetooth/audio/csis.h>
#include "csis_crypto.h"
#include "csis_internal.h"
#include "../host/conn_internal.h"
Expand Down
4 changes: 2 additions & 2 deletions subsys/bluetooth/audio/csis_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
* it easier to compare.
*/
#include "csis_crypto.h"
#include <bluetooth/crypto.h>
#include <zephyr/bluetooth/crypto.h>
#include <tinycrypt/constants.h>
#include <tinycrypt/utils.h>
#include <tinycrypt/aes.h>
#include <tinycrypt/cmac_mode.h>
#include <tinycrypt/ccm_mode.h>
#include <sys/byteorder.h>
#include <zephyr/sys/byteorder.h>

#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_CSIS_CRYPTO)
#define LOG_MODULE_NAME bt_csis_crypto
Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/audio/csis_crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <stddef.h>
#include <zephyr/types.h>

#include <bluetooth/audio/csis.h>
#include <zephyr/bluetooth/audio/csis.h>

#define BT_CSIS_CRYPTO_KEY_SIZE 16
#define BT_CSIS_CRYPTO_SALT_SIZE 16
Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/audio/csis_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <bluetooth/audio/csis.h>
#include <zephyr/bluetooth/audio/csis.h>


#define BT_CSIS_SIRK_TYPE_ENCRYPTED 0x00
Expand Down
16 changes: 8 additions & 8 deletions subsys/bluetooth/audio/has.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
*/

#include <stdlib.h>
#include <zephyr.h>
#include <zephyr/zephyr.h>

#include <device.h>
#include <zephyr/device.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/gatt.h>
#include <bluetooth/audio/audio.h>
#include <bluetooth/audio/capabilities.h>
#include <bluetooth/audio/has.h>
#include <sys/check.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/audio/audio.h>
#include <zephyr/bluetooth/audio/capabilities.h>
#include <zephyr/bluetooth/audio/has.h>
#include <zephyr/sys/check.h>

#include "has_internal.h"

Expand Down
10 changes: 5 additions & 5 deletions subsys/bluetooth/audio/has_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr.h>
#include <zephyr/zephyr.h>

#include <bluetooth/bluetooth.h>
#include <bluetooth/gatt.h>
#include <bluetooth/audio/has.h>
#include <sys/check.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/audio/has.h>
#include <zephyr/sys/check.h>

#include "has_internal.h"

Expand Down
Loading

0 comments on commit 5113c14

Please sign in to comment.