diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-27 09:16:02 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-09-06 11:09:30 -0400 |
commit | f8fffc7e51462f51ffca6d0df505ef16afee2fb6 (patch) | |
tree | 7198bb5a8ae258f79562d43d362d2976d8a7f443 /drivers | |
parent | ad0ed62f340a03acca5ae3e7430a08bf289aaffe (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 72b0456e41bf..e603adbfb985 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -2056,7 +2056,7 @@ failed: | |||
2056 | mac80211_hwsim_free(); | 2056 | mac80211_hwsim_free(); |
2057 | return err; | 2057 | return err; |
2058 | } | 2058 | } |
2059 | 2059 | module_init(init_mac80211_hwsim); | |
2060 | 2060 | ||
2061 | static void __exit exit_mac80211_hwsim(void) | 2061 | static void __exit exit_mac80211_hwsim(void) |
2062 | { | 2062 | { |
@@ -2067,7 +2067,4 @@ static void __exit exit_mac80211_hwsim(void) | |||
2067 | mac80211_hwsim_free(); | 2067 | mac80211_hwsim_free(); |
2068 | unregister_netdev(hwsim_mon); | 2068 | unregister_netdev(hwsim_mon); |
2069 | } | 2069 | } |
2070 | |||
2071 | |||
2072 | module_init(init_mac80211_hwsim); | ||
2073 | module_exit(exit_mac80211_hwsim); | 2070 | module_exit(exit_mac80211_hwsim); |