diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-10-28 09:39:02 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-11-11 00:59:33 -0500 |
commit | 2bf236d55e5ea2b92ed5235af09997c2995b316b (patch) | |
tree | 5ae4c6a731f2e9545a40de3258c747a7b3391342 /net/rfkill/rfkill.c | |
parent | ac71c691e6a5ce991fe221d3bdb0c972f617aa37 (diff) |
rfkill: Use subsys_initcall
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>
Diffstat (limited to 'net/rfkill/rfkill.c')
-rw-r--r-- | 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 c6a9412fe5bd..bbfbb9e7a917 100644 --- a/net/rfkill/rfkill.c +++ b/net/rfkill/rfkill.c | |||
@@ -449,5 +449,5 @@ static void __exit rfkill_exit(void) | |||
449 | class_unregister(&rfkill_class); | 449 | class_unregister(&rfkill_class); |
450 | } | 450 | } |
451 | 451 | ||
452 | module_init(rfkill_init); | 452 | subsys_initcall(rfkill_init); |
453 | module_exit(rfkill_exit); | 453 | module_exit(rfkill_exit); |