mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_cfg
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in wlan_hdd_cfg. Change-Id: Ie23da29a1515249c04185ad4e146d8c9f4256c0f CRs-Fixed: 1074336
This commit is contained in:
parent
018d7d3f31
commit
f1bf3a6da0
1 changed files with 4 additions and 3 deletions
|
|
@ -5868,7 +5868,7 @@ static void hdd_override_all_ps(hdd_context_t *hdd_ctx)
|
|||
*
|
||||
* Return: none
|
||||
*/
|
||||
void hdd_set_rx_mode_value(hdd_context_t *hdd_ctx)
|
||||
static void hdd_set_rx_mode_value(hdd_context_t *hdd_ctx)
|
||||
{
|
||||
if (hdd_ctx->config->rx_mode & CFG_ENABLE_RX_THREAD &&
|
||||
hdd_ctx->config->rx_mode & CFG_ENABLE_RPS) {
|
||||
|
|
@ -6136,8 +6136,9 @@ static QDF_STATUS hdd_convert_string_to_array(char *str, uint8_t *array,
|
|||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS hdd_hex_string_to_u8_array(char *str, uint8_t *hex_array,
|
||||
uint8_t *len, uint8_t array_max_len)
|
||||
static QDF_STATUS hdd_hex_string_to_u8_array(char *str, uint8_t *hex_array,
|
||||
uint8_t *len,
|
||||
uint8_t array_max_len)
|
||||
{
|
||||
return hdd_convert_string_to_array(str, hex_array, len,
|
||||
array_max_len, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue