From: Rusty Russell Subject: [PATCH] Xen bk snapshot: netfront.c should use module_init() Date: Mon, 17 Jan 2005 17:05:19 +1100 Message-ID: <1105941919.3954.37.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net Cc: Ian Pratt List-Id: xen-devel@lists.xenproject.org __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. --- linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c.~1~ 2005-01-11 15:35:59.000000000 +1100 +++ linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c 2005-01-17 15:41:21.000000000 +1100 @@ -1343,4 +1343,4 @@ } -__initcall(netif_init); +module_init(netif_init); -- 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