From: Andrew Morton Date: Tue, 15 Aug 2006 06:00:04 +0000 (-0700) Subject: [PATCH] lne390 section fix X-Git-Tag: v2.6.18-rc5~61^2~33 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab3d02ec05d16aab680de471cb5d20c5d4852e8;p=linux-2.6 [PATCH] lne390 section fix WARNING: drivers/net/lne390.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x100) and 'lne390_close' Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/lne390.c b/drivers/net/lne390.c index 646e89fc35..c0ec7f6abc 100644 --- a/drivers/net/lne390.c +++ b/drivers/net/lne390.c @@ -406,7 +406,7 @@ MODULE_PARM_DESC(mem, "memory base address(es)"); MODULE_DESCRIPTION("Mylex LNE390A/B EISA Ethernet driver"); MODULE_LICENSE("GPL"); -int init_module(void) +int __init init_module(void) { struct net_device *dev; int this_dev, found = 0;