[PATCH] davinci: cpufreq: fix section mismatch warning

Nori, Sekhar nsekhar at ti.com
Mon Feb 28 05:31:33 EST 2011


Hi Axel,

On Tue, Feb 22, 2011 at 08:53:53, Axel Lin wrote:
> 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 <axel.lin at gmail.com>

Will queue for Kevin to send upstream.

Thanks,
Sekhar




More information about the linux-arm-kernel mailing list