From: Axel Lin <[axel.lin@gmail.com]> Date: Mon, 28 Feb 2011 10:21:33 +0000 (+0530) Subject: davinci: cpufreq: fix section mismatch warning X-Git-Tag: v2.6.38-rc8~2^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=079db590f954baa03804a6fc66b201e1347dc1c1;p=pandora-kernel.git davinci: cpufreq: fix section mismatch warning Fix below section mismatch warning: WARNING: vmlinux.o(.data+0x673c): Section mismatch in reference from the variable davinci_driver to the function .init.text:davinci_cpu_init() The variable davinci_driver references the function __init davinci_cpu_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: Axel Lin Acked-by: Sekhar Nori Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed