]> git.baikalelectronics.ru Git - kernel.git/commit
arm: omap: fix section mismatch warning
authorMing Lei <tom.leiming@gmail.com>
Wed, 2 Mar 2011 22:41:46 +0000 (06:41 +0800)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Mar 2011 00:32:52 +0000 (16:32 -0800)
commit2d3f37927dfc3fd0e1743f190bc888ca995a9738
tree390e3de110baaee016faf48a949d10817d72d5a5
parent4f48f6713b368fc7ff1ed25bbd9a706869095b42
arm: omap: fix section mismatch warning

WARNING: arch/arm/plat-omap/built-in.o(.data+0x6d4): Section mismatch in reference from the variable omap_driver to the function .init.text:omap_cpu_init()
The variable omap_driver references
the function __init omap_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: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/cpu-omap.c