Skip to content

Commit e269670

Browse files
committed
Fix build warnings
Fix the header file inclusions. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent e1de98a commit e269670

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

bus_if/bus/qspi/src/qspi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include "bal_structs.h"
1313
#include "qspi.h"
14+
#include "osal_api.h"
1415
#ifndef NRF71_ON_IPC
1516
#include "common/pal.h"
1617
#endif

fw_if/umac_if/src/common/fmac_cmd_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
* FMAC IF Layer of the Wi-Fi driver.
1010
*/
1111

12+
#include "common/hal_api_common.h"
1213

1314
#ifdef NRF71_ON_IPC
1415
#include <nrf71_wifi_ctrl.h>
1516
#else
1617
#include "host_rpu_umac_if.h"
17-
#include "common/hal_api_common.h"
1818
#endif
1919
#include "common/fmac_structs_common.h"
2020
#include "common/fmac_util.h"

hw_if/hal/inc/common/hal_api_common.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222

2323
#include "bal_api.h"
2424
#include "hal_structs_common.h"
25+
#ifndef NRF71_ON_IPC
2526
#include "hal_mem.h"
2627
#include "hal_reg.h"
2728
#include "hal_fw_patch_loader.h"
29+
#endif /* !NRF71_ON_IPC */
2830

2931
#define NRF_WIFI_ADDR_REG_NAME_LEN 16
3032

hw_if/hal/src/common/hal_api_common.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
*/
1111

1212
#include "queue.h"
13-
#include "common/hal_structs_common.h"
13+
14+
#include "common/hal_api_common.h"
15+
#ifndef NRF71_ON_IPC
1416
#include "common/hal_common.h"
1517
#include "common/hal_reg.h"
1618
#include "common/hal_mem.h"
17-
#ifndef NRF71_ON_IPC
1819
#include "common/hal_interrupt.h"
1920
#include "common/pal.h"
2021
#endif /* !NRF71_ON_IPC */

0 commit comments

Comments
 (0)