From: Andrew Morton Date: Tue, 15 Aug 2006 06:00:08 +0000 (-0700) Subject: [PATCH] seeq8005 section fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c971ef46cb94b8bb4a12555fa757e5f67934fcd9;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 efd0f235020..01392bca022 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))