virtual_eisa_root_init() should be __init

WARNING: vmlinux - Section mismatch: reference to
.init.text:eisa_root_register from .text between 'virtual_eisa_root_init' (at
offset 0xc026b80f) and 'cpufreq_debug_disable_ratelimit'

Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Andrew Morton 2007-05-08 00:26:02 -07:00 committed by Linus Torvalds
parent cd436afd6e
commit 4a1ccb5b1e

View file

@ -47,7 +47,7 @@ static void virtual_eisa_release (struct device *dev)
/* nothing really to do here */ /* nothing really to do here */
} }
static int virtual_eisa_root_init (void) static int __init virtual_eisa_root_init (void)
{ {
int r; int r;