summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2016-11-29 14:56:13 -0800
committerqcabuildsw <qcabuildsw@localhost>2016-11-30 13:38:28 -0800
commit1c394cbb84e6b59829e0d467f63002fb1effb3ce (patch)
treec4595a1cbb034476ddfde60180ecd6c3623afa03
parent9f11bfd798e1176bd7446d5b4178a231bb284096 (diff)
qcacld-3.0: Make ol_cfg_update_ac_specs_params() static
Change "qcacld-3.0: Add ini keys for WRR tx scheduler tuning" introduced function ol_cfg_update_ac_specs_params(). Although this function is only used within wma_main.c, it was not declared to be static, and this causes a compilation error when the driver is built using -Wmissing-prototypes switch. To fix this issue make the function static. Change-Id: I7088769c89e432234e0d359418b4416239361a9e CRs-Fixed: 1095357
-rw-r--r--core/wma/src/wma_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c
index 8fb173dd7738..d196b5b70ff0 100644
--- a/core/wma/src/wma_main.c
+++ b/core/wma/src/wma_main.c
@@ -1639,7 +1639,7 @@ void ol_cfg_set_flow_control_parameters(struct txrx_pdev_cfg_param_t *olCfg,
*
* Return: none
*/
-void ol_cfg_update_ac_specs_params(struct txrx_pdev_cfg_param_t *olcfg,
+static void ol_cfg_update_ac_specs_params(struct txrx_pdev_cfg_param_t *olcfg,
struct cds_config_info *cds_cfg)
{
int i;