mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacmn: Fix function parameter type conflict issue
Parameter freq type has a conflict in reg_is_dsrc_freq(qdf_freq_t freq) and reg_is_dsrc_freq(uint16_t freq) functions. Change the type to qdf_freq_t in these functions. Change-Id: I4c348778a7cb2fd588799332241701357de90422 CRs-Fixed: 2595642
This commit is contained in:
parent
e76b6f2458
commit
78100a4cfe
1 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
|
|
@ -516,7 +516,7 @@ bool reg_get_fcc_constraint(struct wlan_objmgr_pdev *pdev, uint32_t freq)
|
|||
* Return: true or false
|
||||
*/
|
||||
#ifdef CONFIG_CHAN_FREQ_API
|
||||
bool reg_is_dsrc_freq(uint16_t freq);
|
||||
bool reg_is_dsrc_freq(qdf_freq_t freq);
|
||||
#endif /* CONFIG_CHAN_FREQ_API*/
|
||||
|
||||
#ifdef CONFIG_CHAN_NUM_API
|
||||
|
|
@ -567,7 +567,7 @@ static inline bool reg_is_dsrc_chan(struct wlan_objmgr_pdev *pdev,
|
|||
return false;
|
||||
}
|
||||
|
||||
static inline bool reg_is_dsrc_freq(uint16_t freq)
|
||||
static inline bool reg_is_dsrc_freq(qdf_freq_t freq)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
@ -612,7 +612,7 @@ static inline bool reg_is_dsrc_chan(struct wlan_objmgr_pdev *pdev,
|
|||
return false;
|
||||
}
|
||||
|
||||
static inline bool reg_is_dsrc_freq(uint16_t freq)
|
||||
static inline bool reg_is_dsrc_freq(qdf_freq_t freq)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue