summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-27 13:16:02 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2012-09-06 15:09:30 (GMT)
commitf8fffc7e51462f51ffca6d0df505ef16afee2fb6 (patch)
tree7198bb5a8ae258f79562d43d362d2976d8a7f443
parentad0ed62f340a03acca5ae3e7430a08bf289aaffe (diff)
downloadlinux-fsl-qoriq-f8fffc7e51462f51ffca6d0df505ef16afee2fb6.tar.xz
mac80211_hwsim: move module_init/exit
These should be with the functions so move the module_init/exit statements. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 72b0456..e603adb 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -2056,7 +2056,7 @@ failed:
mac80211_hwsim_free();
return err;
}
-
+module_init(init_mac80211_hwsim);
static void __exit exit_mac80211_hwsim(void)
{
@@ -2067,7 +2067,4 @@ static void __exit exit_mac80211_hwsim(void)
mac80211_hwsim_free();
unregister_netdev(hwsim_mon);
}
-
-
-module_init(init_mac80211_hwsim);
module_exit(exit_mac80211_hwsim);