diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-11-02 11:23:48 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-11-07 10:06:43 +0200 |
commit | aed7ee049a3e92a1f2b64da199cf93df3e6bfeb6 (patch) | |
tree | af681e62fbc82892102dfdbf9baeab86f851572d /drivers | |
parent | 47f1a84e2451d4fbf2904e71b56fbcc18114afba (diff) | |
download | linux-stable-aed7ee049a3e92a1f2b64da199cf93df3e6bfeb6.tar.gz linux-stable-aed7ee049a3e92a1f2b64da199cf93df3e6bfeb6.tar.bz2 linux-stable-aed7ee049a3e92a1f2b64da199cf93df3e6bfeb6.zip |
ath: regd: Provide description for ath_reg_apply_ir_flags's 'reg' param
Fixes the following W=1 kernel build warning(s):
drivers/net/wireless/ath/regd.c:378: warning: Function parameter or member 'reg' not described in 'ath_reg_apply_ir_flags'
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-20-lee.jones@linaro.org
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/regd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c index bee9110b91f3..b2400e2417a5 100644 --- a/drivers/net/wireless/ath/regd.c +++ b/drivers/net/wireless/ath/regd.c @@ -360,6 +360,7 @@ ath_reg_apply_beaconing_flags(struct wiphy *wiphy, /** * ath_reg_apply_ir_flags() * @wiphy: the wiphy to use + * @reg: regulatory structure - used for country selection * @initiator: the regulatory hint initiator * * If no country IE has been received always enable passive scan |