]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: socfpga: Fix section mismatch warning
authorDinh Nguyen <dinguyen@altera.com>
Thu, 13 Mar 2014 21:08:01 +0000 (16:08 -0500)
committerMike Turquette <mturquette@linaro.org>
Wed, 19 Mar 2014 06:42:35 +0000 (23:42 -0700)
commit95bb9f515f5d8428a447b3afc131a99ddbdf4e8b
treef4a48d9596e29958e6de6e58023e09de44c192d2
parent06fa5ab32a1b246bf151edddf9aa5580d4021d92
clk: socfpga: Fix section mismatch warning

WARNING: drivers/clk/socfpga/built-in.o(.data+0xc0): Section mismatch in
reference from the variable socfpga_child_clocks to the function
.init.text:socfpga_pll_init()
The variable socfpga_child_clocks references
the function __init socfpga_pll_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

WARNING: drivers/clk/socfpga/built-in.o(.data+0x184): Section mismatch in
reference from the variable socfpga_child_clocks to the function
.init.text:socfpga_periph_init()
The variable socfpga_child_clocks references
the function __init socfpga_periph_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

WARNING: drivers/clk/socfpga/built-in.o(.data+0x248): Section mismatch in
reference from the variable socfpga_child_clocks to the function
.init.text:socfpga_gate_init()
The variable socfpga_child_clocks references
the function __init socfpga_gate_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

Reported-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/socfpga/clk.c