From: Sam Ravnborg Date: Tue, 21 Mar 2006 06:34:52 +0000 (-0800) Subject: [WAN]: fix section mismatch warning in sbni X-Git-Tag: v2.6.17-rc1~1175^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=471a24c0589cd192dcd2c6770ab6252cd42b1cff;p=pandora-kernel.git [WAN]: fix section mismatch warning in sbni In latest -mm sbni gives following warning: WARNING: drivers/net/wan/sbni.o - Section mismatch: reference to \ .init.data: from .text between 'init_module' (at offset 0x14ef) and \ 'cleanup_module' The warning is caused by init_module() calling a function declared __init. Declare init_module() __init too to fix warning. Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-diff-tree failed