projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad0ed62
)
mac80211_hwsim: move module_init/exit
author
Johannes Berg
<johannes.berg@intel.com>
Fri, 27 Jul 2012 13:16:02 +0000
(15:16 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 6 Sep 2012 15:09:30 +0000
(17:09 +0200)
These should be with the functions so move
the module_init/exit statements.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mac80211_hwsim.c
b/drivers/net/wireless/mac80211_hwsim.c
index
72b0456
..
e603adb
100644
(file)
--- 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);