From: Andrew Morton Date: Tue, 15 Aug 2006 06:00:08 +0000 (-0700) Subject: [PATCH] seeq8005 section fix X-Git-Tag: v3.12-rc1~34252^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c971ef46cb94b8bb4a12555fa757e5f67934fcd9;p=kernel%2Fkernel-generic.git [PATCH] seeq8005 section fix WARNING: drivers/net/seeq8005.o - Section mismatch: reference to .init.text:seeq8005_probe from .text between 'init_module' (at offset 0x106) and 'seeq8005_open' Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/seeq8005.c b/drivers/net/seeq8005.c index efd0f23..01392bc 100644 --- a/drivers/net/seeq8005.c +++ b/drivers/net/seeq8005.c @@ -742,7 +742,7 @@ module_param(irq, int, 0); MODULE_PARM_DESC(io, "SEEQ 8005 I/O base address"); MODULE_PARM_DESC(irq, "SEEQ 8005 IRQ number"); -int init_module(void) +int __init init_module(void) { dev_seeq = seeq8005_probe(-1); if (IS_ERR(dev_seeq))