]> git.baikalelectronics.ru Git - kernel.git/commit
clk: ppc-corenet: Fix Section mismatch warning
authorJingchang Lu <jingchang.lu@freescale.com>
Tue, 1 Jul 2014 08:37:11 +0000 (16:37 +0800)
committerMike Turquette <mturquette@linaro.org>
Wed, 2 Jul 2014 03:11:22 +0000 (20:11 -0700)
commitded6c4a226764daa251c888974d03d4ff71b774c
tree6286c8c172e3243a0b196bec8b7c1b3b786eb24a
parentb74f3b01dc34c09b4fcce7e83bbb69216cba02a5
clk: ppc-corenet: Fix Section mismatch warning

WARNING: drivers/built-in.o(.data+0x10258):
Section mismatch in reference from the variable ppc_corenet_clk_driver
to the (unknown reference) .init.rodata:(unknown)
The variable ppc_corenet_clk_driver references
the (unknown reference) __initconst (unknown)
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: Jingchang Lu <jingchang.lu@freescale.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-ppc-corenet.c