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:
Jeff Johnson
2018-05-29 14:48:12 -07:00
committed by nshrivas
부모 ae1ac2b0fd
커밋 cba3b465d2

파일 보기

@@ -168,7 +168,7 @@ struct cds_log_complete {
/* forward-declare hdd_context_s as it is used ina function type */
struct hdd_context_s;
typedef struct _cds_context_type {
struct cds_context {
/* Scheduler Context */
cds_sched_context qdf_sched;
@@ -223,7 +223,10 @@ typedef struct _cds_context_type {
qdf_work_t cds_recovery_work;
qdf_workqueue_t *cds_recovery_wq;
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