diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-01-10 23:15:43 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-11 18:18:21 -0800 |
commit | 56fb5fe9f16f630e3ee663c47c5aff26ac424d05 (patch) | |
tree | dee82831d60f11f2affc9ceeff2b6355770810a4 /drivers/char/hw_random/intel-rng.c | |
parent | 9863be598ed068613996af8da71d9fd976a0ab2d (diff) | |
download | kernel_samsung_tuna-56fb5fe9f16f630e3ee663c47c5aff26ac424d05.zip kernel_samsung_tuna-56fb5fe9f16f630e3ee663c47c5aff26ac424d05.tar.gz kernel_samsung_tuna-56fb5fe9f16f630e3ee663c47c5aff26ac424d05.tar.bz2 |
[PATCH] Fix HWRNG built-in initcalls priority
This changes all HWRNG driver initcalls to module_init(). We must probe
the RNGs after the major kernel subsystems are already up and running (like
PCI).
This fixes Bug 7730.
http://bugzilla.kernel.org/show_bug.cgi?id=7730
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: Jan Beulich <jbeulich@novell.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/hw_random/intel-rng.c')
-rw-r--r-- | drivers/char/hw_random/intel-rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/intel-rng.c b/drivers/char/hw_random/intel-rng.c index 154ce3e..f22e78e 100644 --- a/drivers/char/hw_random/intel-rng.c +++ b/drivers/char/hw_random/intel-rng.c @@ -378,7 +378,7 @@ static void __exit mod_exit(void) iounmap(mem); } -subsys_initcall(mod_init); +module_init(mod_init); module_exit(mod_exit); MODULE_DESCRIPTION("H/W RNG driver for Intel chipsets"); |