From: Andrew Morton Date: Tue, 15 Aug 2006 06:00:00 +0000 (-0700) Subject: [PATCH] e2100 section fix X-Git-Tag: v2.6.18-rc5~61^2~39 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d543cbb6d192313d9027ed09c7a1e085b1234082;p=linux-2.6 [PATCH] e2100 section fix WARNING: drivers/net/e2100.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0xd9) and 'e21_reset_8390' Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/e2100.c b/drivers/net/e2100.c index e5c5cd2a27..e4e733a380 100644 --- a/drivers/net/e2100.c +++ b/drivers/net/e2100.c @@ -425,8 +425,8 @@ MODULE_LICENSE("GPL"); /* This is set up so that only a single autoprobe takes place per call. ISA device autoprobes on a running machine are not recommended. */ -int -init_module(void) + +int __init init_module(void) { struct net_device *dev; int this_dev, found = 0;