diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h index c2c60313d6..5d1d3f3934 100644 --- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h +++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h @@ -23,9 +23,7 @@ #define _WLAN_OBJMGR_PSOC_OBJ_H_ #include "wlan_objmgr_cmn.h" -#include "wlan_objmgr_debug.h" #include "wlan_lmac_if_def.h" -#include #define REG_DMN_CH144 0x0001 #define REG_DMN_ENTREPRISE 0x0002 @@ -363,7 +361,7 @@ struct wlan_objmgr_psoc { void *soc_comp_priv_obj[WLAN_UMAC_MAX_COMPONENTS]; QDF_STATUS obj_status[WLAN_UMAC_MAX_COMPONENTS]; WLAN_OBJ_STATE obj_state; - target_psoc_info_t *tgt_if_handle; + struct target_psoc_info *tgt_if_handle; void *dp_handle; qdf_spinlock_t psoc_lock; }; @@ -1409,7 +1407,7 @@ static inline uint8_t wlan_psoc_get_pdev_count(struct wlan_objmgr_psoc *psoc) */ static inline void wlan_psoc_set_tgt_if_handle(struct wlan_objmgr_psoc *psoc, - target_psoc_info_t *tgt_if_handle) + struct target_psoc_info *tgt_if_handle) { if (!psoc) return; @@ -1426,7 +1424,8 @@ void wlan_psoc_set_tgt_if_handle(struct wlan_objmgr_psoc *psoc, * Return: target interface handle */ static inline -target_psoc_info_t *wlan_psoc_get_tgt_if_handle(struct wlan_objmgr_psoc *psoc) +struct target_psoc_info *wlan_psoc_get_tgt_if_handle( + struct wlan_objmgr_psoc *psoc) { if (!psoc) return NULL; diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c index e62a57072b..8aff084538 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c @@ -1,6 +1,6 @@ /* * - * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -24,6 +24,7 @@ #include #include #include +#include #include "wlan_objmgr_global_obj_i.h" #include #include diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_global_obj.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_global_obj.c index f307d213bb..0cf52e9a6c 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_global_obj.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_global_obj.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2020 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -21,6 +21,7 @@ #include "wlan_objmgr_global_obj_i.h" #include +#include "wlan_objmgr_debug.h" #include "wlan_objmgr_psoc_obj.h" #include "qdf_mem.h" #include diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_pdev_obj.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_pdev_obj.c index 13e13da513..933d76ef8a 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_pdev_obj.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_pdev_obj.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include "wlan_objmgr_global_obj_i.h" diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_peer_obj.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_peer_obj.c index 09c35418e3..354e1615a0 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_peer_obj.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_peer_obj.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include "wlan_objmgr_global_obj_i.h" diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_psoc_obj.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_psoc_obj.c index 1afc42ab38..410cec95ba 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_psoc_obj.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_psoc_obj.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c index 7dffd6d065..1b9913e682 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include "wlan_objmgr_global_obj_i.h"