mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Fix -Wmissing-prototypes in sme_power_save
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in sme_power_save. Change-Id: I8f6cb46337fc8bfcfd7614cf60dd3f5523d74f1d CRs-Fixed: 1075575
This commit is contained in:
parent
464f7ea7b7
commit
9ce2b4135f
1 changed files with 7 additions and 7 deletions
|
|
@ -43,7 +43,7 @@
|
|||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS sme_post_ps_msg_to_wma(uint16_t type, void *body)
|
||||
static QDF_STATUS sme_post_ps_msg_to_wma(uint16_t type, void *body)
|
||||
{
|
||||
cds_msg_t msg;
|
||||
|
||||
|
|
@ -142,7 +142,7 @@ static void sme_get_ps_state(tpAniSirGlobal mac_ctx,
|
|||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS sme_ps_enable_ps_req_params(tpAniSirGlobal mac_ctx,
|
||||
static QDF_STATUS sme_ps_enable_ps_req_params(tpAniSirGlobal mac_ctx,
|
||||
uint32_t session_id)
|
||||
{
|
||||
struct sEnablePsParams *enable_ps_req_params;
|
||||
|
|
@ -186,7 +186,7 @@ QDF_STATUS sme_ps_enable_ps_req_params(tpAniSirGlobal mac_ctx,
|
|||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS sme_ps_disable_ps_req_params(tpAniSirGlobal mac_ctx,
|
||||
static QDF_STATUS sme_ps_disable_ps_req_params(tpAniSirGlobal mac_ctx,
|
||||
uint32_t session_id)
|
||||
{
|
||||
struct sDisablePsParams *disable_ps_req_params;
|
||||
|
|
@ -218,7 +218,7 @@ QDF_STATUS sme_ps_disable_ps_req_params(tpAniSirGlobal mac_ctx,
|
|||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS sme_ps_enable_uapsd_req_params(tpAniSirGlobal mac_ctx,
|
||||
static QDF_STATUS sme_ps_enable_uapsd_req_params(tpAniSirGlobal mac_ctx,
|
||||
uint32_t session_id)
|
||||
{
|
||||
|
||||
|
|
@ -257,7 +257,7 @@ QDF_STATUS sme_ps_enable_uapsd_req_params(tpAniSirGlobal mac_ctx,
|
|||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS sme_ps_disable_uapsd_req_params(tpAniSirGlobal mac_ctx,
|
||||
static QDF_STATUS sme_ps_disable_uapsd_req_params(tpAniSirGlobal mac_ctx,
|
||||
uint32_t session_id)
|
||||
{
|
||||
struct sDisableUapsdParams *disable_uapsd_req_params;
|
||||
|
|
@ -296,7 +296,7 @@ QDF_STATUS sme_ps_disable_uapsd_req_params(tpAniSirGlobal mac_ctx,
|
|||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS sme_ps_enter_wowl_req_params(tpAniSirGlobal mac_ctx,
|
||||
static QDF_STATUS sme_ps_enter_wowl_req_params(tpAniSirGlobal mac_ctx,
|
||||
uint32_t session_id)
|
||||
{
|
||||
struct sSirHalWowlEnterParams *hal_wowl_params;
|
||||
|
|
@ -410,7 +410,7 @@ end:
|
|||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS sme_ps_exit_wowl_req_params(tpAniSirGlobal mac_ctx,
|
||||
static QDF_STATUS sme_ps_exit_wowl_req_params(tpAniSirGlobal mac_ctx,
|
||||
uint32_t session_id)
|
||||
{
|
||||
struct sSirHalWowlExitParams *hal_wowl_msg;
|
||||
|
|
|
|||
Loading…
Reference in a new issue