summaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-18 09:38:55 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-06-18 21:11:13 +0200
commit2fcc9f731b598a6c70dca277776c66c9cf9d7a3b (patch)
tree028d0d608a6ec31b345054506d4281c30f77a1e2 /net/wireless/reg.h
parentcfg80211: move cfg80211_exit to .exit.text (diff)
downloadlinux-2fcc9f731b598a6c70dca277776c66c9cf9d7a3b.tar.xz
linux-2fcc9f731b598a6c70dca277776c66c9cf9d7a3b.zip
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.h')
-rw-r--r--net/wireless/reg.h2
1 files changed, 1 insertions, 1 deletions
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);
void reg_device_remove(struct wiphy *wiphy);
-int regulatory_init(void);
+int __init regulatory_init(void);
void regulatory_exit(void);
int set_regdom(const struct ieee80211_regdomain *rd);