diff options
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/reg.c | 4 | ||||
-rw-r--r-- | net/wireless/reg.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 8f0d97dd3109..994c7c5f071b 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c | |||
@@ -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; |
diff --git a/net/wireless/reg.h b/net/wireless/reg.h index b26224a9f3bc..c4695d07af23 100644 --- a/net/wireless/reg.h +++ b/net/wireless/reg.h | |||
@@ -10,7 +10,7 @@ int regulatory_hint_user(const char *alpha2); | |||
10 | 10 | ||
11 | void reg_device_remove(struct wiphy *wiphy); | 11 | void reg_device_remove(struct wiphy *wiphy); |
12 | 12 | ||
13 | int regulatory_init(void); | 13 | int __init regulatory_init(void); |
14 | void regulatory_exit(void); | 14 | void regulatory_exit(void); |
15 | 15 | ||
16 | int set_regdom(const struct ieee80211_regdomain *rd); | 16 | int set_regdom(const struct ieee80211_regdomain *rd); |