[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>
此提交包含在:
Michael Buesch
2007-01-10 23:15:43 -08:00
提交者 Linus Torvalds
父節點 9863be598e
當前提交 56fb5fe9f1
共有 5 個檔案被更改,包括 5 行新增5 行删除

查看文件

@@ -125,7 +125,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 AMD Geode LX CPUs");