mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
wireless: make __freq_reg_info static
As pointed out by sparse, this symbol should be static, make it so. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
395250e483
commit
8de1c63ba1
1 changed files with 2 additions and 2 deletions
|
@ -1040,8 +1040,8 @@ freq_reg_info_regd(struct wiphy *wiphy, u32 center_freq,
|
|||
return ERR_PTR(-EINVAL);
|
||||
}
|
||||
|
||||
const struct ieee80211_reg_rule *__freq_reg_info(struct wiphy *wiphy,
|
||||
u32 center_freq, u32 min_bw)
|
||||
static const struct ieee80211_reg_rule *
|
||||
__freq_reg_info(struct wiphy *wiphy, u32 center_freq, u32 min_bw)
|
||||
{
|
||||
const struct ieee80211_regdomain *regd = reg_get_regdomain(wiphy);
|
||||
const struct ieee80211_reg_rule *reg_rule = NULL;
|
||||
|
|
Loading…
Reference in a new issue