From: Andrew Morton Date: Tue, 15 Aug 2006 05:59:58 +0000 (-0700) Subject: [PATCH] cops section fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5f3bc456ce190a963a8816be5a318df9998f3bc5;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] cops section fix WARNING: drivers/net/appletalk/cops.o - Section mismatch: reference to .init.text:cops_probe from .text between 'init_module' (at offset 0xae) and 'cops_rx' Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/appletalk/cops.c b/drivers/net/appletalk/cops.c index 1d01ac0000e..ae7f828344d 100644 --- a/drivers/net/appletalk/cops.c +++ b/drivers/net/appletalk/cops.c @@ -1030,7 +1030,7 @@ module_param(io, int, 0); module_param(irq, int, 0); module_param(board_type, int, 0); -int init_module(void) +int __init init_module(void) { if (io == 0) printk(KERN_WARNING "%s: You shouldn't autoprobe with insmod\n",