qcacmn: remove dependency of public files from wlan_objmgr_psoc_obj.h
Remove dependency of wlan_objmgr_debug and target_if_pub headerfiles from wlan_objmgr_psoc_obj.h Change-Id: I40ebbf0e313c44a7b8aa7561fdbe30519b467723
This commit is contained in:

gecommit door
nshrivas

bovenliggende
c5a16a4857
commit
14284068d7
@@ -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 <target_if_pub.h>
|
||||
|
||||
#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;
|
||||
|
@@ -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 <wlan_objmgr_pdev_obj.h>
|
||||
#include <wlan_objmgr_vdev_obj.h>
|
||||
#include <wlan_objmgr_peer_obj.h>
|
||||
#include <wlan_objmgr_debug.h>
|
||||
#include "wlan_objmgr_global_obj_i.h"
|
||||
#include <qdf_mem.h>
|
||||
#include <qdf_platform.h>
|
||||
|
@@ -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 <wlan_objmgr_global_obj.h>
|
||||
#include "wlan_objmgr_debug.h"
|
||||
#include "wlan_objmgr_psoc_obj.h"
|
||||
#include "qdf_mem.h"
|
||||
#include <qdf_module.h>
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#include <wlan_objmgr_pdev_obj.h>
|
||||
#include <wlan_objmgr_vdev_obj.h>
|
||||
#include <wlan_objmgr_peer_obj.h>
|
||||
#include <wlan_objmgr_debug.h>
|
||||
#include <qdf_mem.h>
|
||||
#include <qdf_module.h>
|
||||
#include "wlan_objmgr_global_obj_i.h"
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#include <wlan_objmgr_pdev_obj.h>
|
||||
#include <wlan_objmgr_vdev_obj.h>
|
||||
#include <wlan_objmgr_peer_obj.h>
|
||||
#include <wlan_objmgr_debug.h>
|
||||
#include <qdf_mem.h>
|
||||
#include <qdf_module.h>
|
||||
#include "wlan_objmgr_global_obj_i.h"
|
||||
|
@@ -25,6 +25,7 @@
|
||||
#include <wlan_objmgr_pdev_obj.h>
|
||||
#include <wlan_objmgr_vdev_obj.h>
|
||||
#include <wlan_objmgr_peer_obj.h>
|
||||
#include <wlan_objmgr_debug.h>
|
||||
#include <qdf_mem.h>
|
||||
#include <qdf_types.h>
|
||||
#include <qdf_module.h>
|
||||
|
@@ -23,6 +23,7 @@
|
||||
#include <wlan_objmgr_pdev_obj.h>
|
||||
#include <wlan_objmgr_vdev_obj.h>
|
||||
#include <wlan_objmgr_peer_obj.h>
|
||||
#include <wlan_objmgr_debug.h>
|
||||
#include <qdf_mem.h>
|
||||
#include <qdf_module.h>
|
||||
#include "wlan_objmgr_global_obj_i.h"
|
||||
|
Verwijs in nieuw issue
Block a user