qcacld-3.0: Rename struct hdd_context_s
The Linux Coding Style eschews the encoding of type information into
names, so rename struct hdd_context_s to align with that guidance.
Change-Id: I590cc8751873479a098f90b501c401c4fb4010c4
CRs-Fixed: 2092735
diff --git a/core/hdd/src/wlan_hdd_lpass.h b/core/hdd/src/wlan_hdd_lpass.h
index ac44597..14811b7 100644
--- a/core/hdd/src/wlan_hdd_lpass.h
+++ b/core/hdd/src/wlan_hdd_lpass.h
@@ -30,7 +30,7 @@
struct cds_config_info;
struct wma_tgt_cfg;
-struct hdd_context_s;
+struct hdd_context;
struct hdd_adapter;
#ifdef WLAN_FEATURE_LPSS
@@ -44,7 +44,7 @@
*
* Return: none
*/
-void hdd_lpass_target_config(struct hdd_context_s *hdd_ctx,
+void hdd_lpass_target_config(struct hdd_context *hdd_ctx,
struct wma_tgt_cfg *target_config);
/**
@@ -58,7 +58,7 @@
* Return: none
*/
void hdd_lpass_populate_cds_config(struct cds_config_info *cds_config,
- struct hdd_context_s *hdd_ctx);
+ struct hdd_context *hdd_ctx);
/**
* hdd_lpass_populate_pmo_config() - Populate LPASS configuration
@@ -71,7 +71,7 @@
* Return: none
*/
void hdd_lpass_populate_pmo_config(struct pmo_psoc_cfg *pmo_config,
- struct hdd_context_s *hdd_ctx);
+ struct hdd_context *hdd_ctx);
/**
* hdd_lpass_notify_connect() - Notify LPASS of interface connect
@@ -115,7 +115,7 @@
*
* Return: none
*/
-void hdd_lpass_notify_start(struct hdd_context_s *hdd_ctx);
+void hdd_lpass_notify_start(struct hdd_context *hdd_ctx);
/**
* hdd_lpass_notify_stop() - Notify LPASS of driver stop
@@ -126,7 +126,7 @@
*
* Return: none
*/
-void hdd_lpass_notify_stop(struct hdd_context_s *hdd_ctx);
+void hdd_lpass_notify_stop(struct hdd_context *hdd_ctx);
/**
* hdd_lpass_is_supported() - Is lpass feature supported?
@@ -135,22 +135,22 @@
* Return: true if feature is enabled and supported by firmware, false
* if the feature is not enabled or not supported by firmware.
*/
-bool hdd_lpass_is_supported(struct hdd_context_s *hdd_ctx);
+bool hdd_lpass_is_supported(struct hdd_context *hdd_ctx);
#else
-static inline void hdd_lpass_target_config(struct hdd_context_s *hdd_ctx,
+static inline void hdd_lpass_target_config(struct hdd_context *hdd_ctx,
struct wma_tgt_cfg *target_config)
{
}
static inline
void hdd_lpass_populate_cds_config(struct cds_config_info *cds_config,
- struct hdd_context_s *hdd_ctx)
+ struct hdd_context *hdd_ctx)
{
}
static inline
void hdd_lpass_populate_pmo_config(struct pmo_psoc_cfg *pmo_config,
- struct hdd_context_s *hdd_ctx)
+ struct hdd_context *hdd_ctx)
{
}
@@ -163,9 +163,9 @@
static inline void hdd_lpass_notify_mode_change(struct hdd_adapter *adapter)
{
}
-static inline void hdd_lpass_notify_start(struct hdd_context_s *hdd_ctx) { }
-static inline void hdd_lpass_notify_stop(struct hdd_context_s *hdd_ctx) { }
-static inline bool hdd_lpass_is_supported(struct hdd_context_s *hdd_ctx)
+static inline void hdd_lpass_notify_start(struct hdd_context *hdd_ctx) { }
+static inline void hdd_lpass_notify_stop(struct hdd_context *hdd_ctx) { }
+static inline bool hdd_lpass_is_supported(struct hdd_context *hdd_ctx)
{
return false;
}