mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_ext_scan
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_ext_scan. Change-Id: I29c7ba3ef4e9eaa8a28268161a10f3b25249601d CRs-Fixed: 1074336
This commit is contained in:
parent
7782cb90b8
commit
cd2a079b97
1 changed files with 6 additions and 6 deletions
|
|
@ -2435,8 +2435,8 @@ int wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
|
|||
*
|
||||
* Return: none
|
||||
*/
|
||||
void hdd_remove_dsrc_channels(struct wiphy *wiphy, uint32_t *chan_list,
|
||||
uint8_t *num_channels)
|
||||
static void hdd_remove_dsrc_channels(struct wiphy *wiphy, uint32_t *chan_list,
|
||||
uint8_t *num_channels)
|
||||
{
|
||||
uint8_t num_chan_temp = 0;
|
||||
int i;
|
||||
|
|
@ -2460,8 +2460,8 @@ void hdd_remove_dsrc_channels(struct wiphy *wiphy, uint32_t *chan_list,
|
|||
* Return: none
|
||||
*/
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 16, 0))
|
||||
void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
|
||||
uint8_t *num_channels)
|
||||
static void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
|
||||
uint8_t *num_channels)
|
||||
{
|
||||
uint8_t num_chan_temp = 0;
|
||||
int i, j, k;
|
||||
|
|
@ -2485,8 +2485,8 @@ void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
|
|||
*num_channels = num_chan_temp;
|
||||
}
|
||||
#else
|
||||
void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
|
||||
uint8_t *num_channels)
|
||||
static void hdd_remove_indoor_channels(struct wiphy *wiphy, uint32_t *chan_list,
|
||||
uint8_t *num_channels)
|
||||
{
|
||||
*num_channels = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue