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.stricted.de/?a=commitdiff_plain;h=4a1ccb5b1eff949a90ab830869cb23d6609c3d5f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 9b4fcac03ad5..3074879f231f 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;