Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2bf236d55e5ea2b92ed5235af09997c2995b316b
Commit: 2bf236d55e5ea2b92ed5235af09997c2995b316b
Parent: ac71c691e6a5ce991fe221d3bdb0c972f617aa37
Author: Michael Buesch <[EMAIL PROTECTED]>
AuthorDate: Sun Oct 28 14:39:02 2007 +0100
Committer: David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sat Nov 10 21:59:33 2007 -0800
rfkill: Use subsys_initcall
We must use subsys_initcall, because we must initialize before a
driver calls rfkill_register().
Signed-off-by: Michael Buesch <[EMAIL PROTECTED]>
Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]>
Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
net/rfkill/rfkill.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c
index c6a9412..bbfbb9e 100644
--- 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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html