Xen bk snapshot: netfront.c should use module_init()
PATCH 1/1 Xen bk snapshot: netfront.c should use module_init()
__initcall is for things which are always built into the kernel. Kconfig says netfront is tristate (although without a module_exit, the module won't be unloadable).
Trivial fix,
Rusty.
drivers/xen/netfront/netfront.c renamed from drivers/xen/netfront/netfront.c.~1~ +1 -1
@@ -1343,4 +1343,4 @@ } -__initcall (netif_init); +module_init (netif_init);
Signature · 8 lines
A bad analogy is like a leaky screwdriver -- Richard Braakman ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt