From: Andrew Morton Date: Tue, 8 May 2007 07:26:02 +0000 (-0700) Subject: virtual_eisa_root_init() should be __init X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a1ccb5b1eff949a90ab830869cb23d6609c3d5f;p=mv-sheeva.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/eisa/virtual_root.c b/drivers/eisa/virtual_root.c index 9b4fcac03ad..3074879f231 100644 --- a/drivers/eisa/virtual_root.c +++ b/drivers/eisa/virtual_root.c @@ -47,7 +47,7 @@ static void virtual_eisa_release (struct device *dev) /* nothing really to do here */ } -static int virtual_eisa_root_init (void) +static int __init virtual_eisa_root_init (void) { int r;