diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 2 | ||||
-rw-r--r-- | include/net/regulatory.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index c222e5fbf53a..f3be58a29642 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -2369,7 +2369,7 @@ struct wiphy { | |||
2369 | 2369 | ||
2370 | /* fields below are read-only, assigned by cfg80211 */ | 2370 | /* fields below are read-only, assigned by cfg80211 */ |
2371 | 2371 | ||
2372 | const struct ieee80211_regdomain *regd; | 2372 | const struct ieee80211_regdomain __rcu *regd; |
2373 | 2373 | ||
2374 | /* the item in /sys/class/ieee80211/ points to this, | 2374 | /* the item in /sys/class/ieee80211/ points to this, |
2375 | * you need use set_wiphy_dev() (see below) */ | 2375 | * you need use set_wiphy_dev() (see below) */ |
diff --git a/include/net/regulatory.h b/include/net/regulatory.h index 7dcaa2794fde..96b0f07cb85b 100644 --- a/include/net/regulatory.h +++ b/include/net/regulatory.h | |||
@@ -18,6 +18,7 @@ | |||
18 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 18 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <linux/rcupdate.h> | ||
21 | 22 | ||
22 | /** | 23 | /** |
23 | * enum environment_cap - Environment parsed from country IE | 24 | * enum environment_cap - Environment parsed from country IE |
@@ -101,6 +102,7 @@ struct ieee80211_reg_rule { | |||
101 | }; | 102 | }; |
102 | 103 | ||
103 | struct ieee80211_regdomain { | 104 | struct ieee80211_regdomain { |
105 | struct rcu_head rcu_head; | ||
104 | u32 n_reg_rules; | 106 | u32 n_reg_rules; |
105 | char alpha2[2]; | 107 | char alpha2[2]; |
106 | u8 dfs_region; | 108 | u8 dfs_region; |