qcacld-3.0: Rename struct _cds_context_type
Currently struct _cds_context_type is poorly named and poorly defined. Rename it to struct cds_context to better align with expected naming, and define it separately from the typedefs which reference it in anticipation of removing those typedefs in the near future. Change-Id: Icd096b7e99f13402fb7dab53493e6c55dda4d764 CRs-Fixed: 2250666
This commit is contained in:
@@ -168,7 +168,7 @@ struct cds_log_complete {
|
|||||||
|
|
||||||
/* forward-declare hdd_context_s as it is used ina function type */
|
/* forward-declare hdd_context_s as it is used ina function type */
|
||||||
struct hdd_context_s;
|
struct hdd_context_s;
|
||||||
typedef struct _cds_context_type {
|
struct cds_context {
|
||||||
/* Scheduler Context */
|
/* Scheduler Context */
|
||||||
cds_sched_context qdf_sched;
|
cds_sched_context qdf_sched;
|
||||||
|
|
||||||
@@ -223,7 +223,10 @@ typedef struct _cds_context_type {
|
|||||||
qdf_work_t cds_recovery_work;
|
qdf_work_t cds_recovery_work;
|
||||||
qdf_workqueue_t *cds_recovery_wq;
|
qdf_workqueue_t *cds_recovery_wq;
|
||||||
enum qdf_hang_reason recovery_reason;
|
enum qdf_hang_reason recovery_reason;
|
||||||
} cds_context_type, *p_cds_contextType;
|
};
|
||||||
|
|
||||||
|
/* legacy typedefs required until all references are updated */
|
||||||
|
typedef struct cds_context cds_context_type, *p_cds_contextType;
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------
|
/*---------------------------------------------------------------------------
|
||||||
Function declarations and documenation
|
Function declarations and documenation
|
||||||
|
Reference in New Issue
Block a user