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