aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-18 03:38:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-18 15:11:13 -0400
commit2fcc9f731b598a6c70dca277776c66c9cf9d7a3b (patch)
tree028d0d608a6ec31b345054506d4281c30f77a1e2 /net/wireless/reg.c
parentf884e3879b7a098565e963e771cb342b67b1f5cd (diff)
wireless: move regulatory_init to .init.text
regulatory_init is only called by cfg80211_init which is in .init.text, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r--net/wireless/reg.c4
1 files changed, 2 insertions, 2 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(&reg_mutex); 2630 mutex_unlock(&reg_mutex);
2631} 2631}
2632 2632
2633int regulatory_init(void) 2633int __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
2679void regulatory_exit(void) 2679void /* __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;