ath: dfs_pattern_detector: Fix some function kernel-doc headers
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/dfs_pattern_detector.c:34: warning: Function parameter or member 'region' not described in 'radar_types' drivers/net/wireless/ath/dfs_pattern_detector.c:141: warning: Function parameter or member 'region' not described in 'get_dfs_domain_radar_types' drivers/net/wireless/ath/dfs_pattern_detector.c:239: warning: Function parameter or member 'dpd' not described in 'channel_detector_get' drivers/net/wireless/ath/dfs_pattern_detector.c:239: warning: Function parameter or member 'freq' not described in 'channel_detector_get' Cc: Kalle Valo <kvalo@codeaurora.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20201102112410.1049272-22-lee.jones@linaro.org
This commit is contained in:
parent
aed7ee049a
commit
206cd5800d
|
@ -23,7 +23,7 @@
|
|||
|
||||
/**
|
||||
* struct radar_types - contains array of patterns defined for one DFS domain
|
||||
* @domain: DFS regulatory domain
|
||||
* @region: regulatory DFS region
|
||||
* @num_radar_types: number of radar types to follow
|
||||
* @radar_types: radar types array
|
||||
*/
|
||||
|
@ -133,8 +133,9 @@ static const struct radar_types *dfs_domains[] = {
|
|||
|
||||
/**
|
||||
* get_dfs_domain_radar_types() - get radar types for a given DFS domain
|
||||
* @param domain DFS domain
|
||||
* @return radar_types ptr on success, NULL if DFS domain is not supported
|
||||
* @region: regulatory DFS region
|
||||
*
|
||||
* Return value: radar_types ptr on success, NULL if DFS domain is not supported
|
||||
*/
|
||||
static const struct radar_types *
|
||||
get_dfs_domain_radar_types(enum nl80211_dfs_regions region)
|
||||
|
@ -227,9 +228,10 @@ fail:
|
|||
|
||||
/**
|
||||
* channel_detector_get() - get channel detector for given frequency
|
||||
* @param dpd instance pointer
|
||||
* @param freq frequency in MHz
|
||||
* @return pointer to channel detector on success, NULL otherwise
|
||||
* @dpd: DPD instance pointer
|
||||
* @freq: freq frequency in MHz
|
||||
*
|
||||
* Return value: pointer to channel detector on success, NULL otherwise
|
||||
*
|
||||
* Return existing channel detector for the given frequency or return a
|
||||
* newly create one.
|
||||
|
|
Loading…
Reference in New Issue