diff options
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r-- | net/wireless/reg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 8f0d97dd3109..1ac2bdd46ecf 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c | |||
@@ -80,7 +80,7 @@ static const struct ieee80211_regdomain *country_ie_regdomain; | |||
80 | * - country_ie_regdomain | 80 | * - country_ie_regdomain |
81 | * - last_request | 81 | * - last_request |
82 | */ | 82 | */ |
83 | DEFINE_MUTEX(reg_mutex); | 83 | static DEFINE_MUTEX(reg_mutex); |
84 | #define assert_reg_lock() WARN_ON(!mutex_is_locked(®_mutex)) | 84 | #define assert_reg_lock() WARN_ON(!mutex_is_locked(®_mutex)) |
85 | 85 | ||
86 | /* Used to queue up regulatory hints */ | 86 | /* Used to queue up regulatory hints */ |
@@ -2630,7 +2630,7 @@ out: | |||
2630 | mutex_unlock(®_mutex); | 2630 | mutex_unlock(®_mutex); |
2631 | } | 2631 | } |
2632 | 2632 | ||
2633 | int regulatory_init(void) | 2633 | int __init regulatory_init(void) |
2634 | { | 2634 | { |
2635 | int err = 0; | 2635 | int err = 0; |
2636 | 2636 | ||
@@ -2676,7 +2676,7 @@ int regulatory_init(void) | |||
2676 | return 0; | 2676 | return 0; |
2677 | } | 2677 | } |
2678 | 2678 | ||
2679 | void regulatory_exit(void) | 2679 | void /* __init_or_exit */ regulatory_exit(void) |
2680 | { | 2680 | { |
2681 | struct regulatory_request *reg_request, *tmp; | 2681 | struct regulatory_request *reg_request, *tmp; |
2682 | struct reg_beacon *reg_beacon, *btmp; | 2682 | struct reg_beacon *reg_beacon, *btmp; |