diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-08-21 15:13:06 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-09-22 16:21:20 +0300 |
commit | 8de1c63ba1ccfa8225505e60b405537c2c72673c (patch) | |
tree | b95667c827f6574ef7a1dd9d3deb4f714a466427 /net | |
parent | 395250e483d492e9ec5e36a6b78fb142affddee2 (diff) | |
download | linux-8de1c63ba1ccfa8225505e60b405537c2c72673c.tar.xz |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/reg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index b144485946f2..70aef72c4ca2 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -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; |