arm/imx: fix cpufreq section mismatch
authorRichard Zhao <richard.zhao@linaro.org>
Tue, 13 Dec 2011 06:25:27 +0000 (14:25 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 19 Dec 2011 11:26:05 +0000 (12:26 +0100)
commite1bff3149a68baaa9bbc3c38da04690df340b173
treee1bb13335b8e4096377fbc8795c5982b6a31d6e3
parent5776ac2eb33164c77cdb4d2b48feee15616eaba3
arm/imx: fix cpufreq section mismatch

WARNING: arch/arm/plat-mxc/built-in.o(.data+0x488): Section mismatch in reference from the variable mxc_driver to the function .init.text:mxc_cpufreq_init()
The variable mxc_driver references
the function __init mxc_cpufreq_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: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/cpufreq.c