From: Uwe Kleine-König Date: Thu, 2 Sep 2010 08:14:20 +0000 (+0100) Subject: ARM: 6351/1: s3c64xx: don't put smartq_bl_init in .init.text X-Git-Tag: v2.6.37-rc1~184^2~7^7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e978f096241e303c10cf6e6dc80dce41ef41b92;p=pandora-kernel.git ARM: 6351/1: s3c64xx: don't put smartq_bl_init in .init.text This fixes a section mismatch found by modpost: WARNING: arch/arm/mach-s3c64xx/built-in.o(.data+0x2498): Section mismatch in reference from the variable smartq_backlight_data to the function .init.text:smartq_bl_init() The variable smartq_backlight_data references the function __init smartq_bl_init() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, Signed-off-by: Uwe Kleine-König Signed-off-by: Russell King --- Reading git-diff-tree failed