projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac71c69
)
rfkill: Use subsys_initcall
author
Michael Buesch
<mb@bu3sch.de>
Sun, 28 Oct 2007 13:39:02 +0000
(14:39 +0100)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 11 Nov 2007 05:59:33 +0000
(21:59 -0800)
We must use subsys_initcall, because we must initialize before a
driver calls rfkill_register().
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/rfkill.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rfkill/rfkill.c
b/net/rfkill/rfkill.c
index c6a9412fe5bd40efbf338dc310bc3467516430ac..bbfbb9e7a917c81d894e56ddb0fa96fea6e7444a 100644
(file)
--- a/
net/rfkill/rfkill.c
+++ b/
net/rfkill/rfkill.c
@@
-449,5
+449,5
@@
static void __exit rfkill_exit(void)
class_unregister(&rfkill_class);
}
-
module_init
(rfkill_init);
+
subsys_initcall
(rfkill_init);
module_exit(rfkill_exit);