From: Andrew Morton Date: Tue, 15 Aug 2006 05:59:57 +0000 (-0700) Subject: [PATCH] ac3200 section fixes X-Git-Tag: v2.6.18-rc5~61^2~43 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62a87b8051ded3d1fcb89773c9febd1bb34d3cbd;p=linux-2.6 [PATCH] ac3200 section fixes WARNING: drivers/net/ac3200.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0xf9) and 'ac_close_card' Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ac3200.c b/drivers/net/ac3200.c index 7952dc6d77..0fbbcb75af 100644 --- a/drivers/net/ac3200.c +++ b/drivers/net/ac3200.c @@ -370,8 +370,7 @@ MODULE_PARM_DESC(mem, "Memory base address(es)"); MODULE_DESCRIPTION("Ansel AC3200 EISA ethernet driver"); MODULE_LICENSE("GPL"); -int -init_module(void) +int __init init_module(void) { struct net_device *dev; int this_dev, found = 0;