diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-09-15 21:28:30 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-11-02 01:06:15 -0700 |
commit | 5ef288d42aefef63f728116818a097b3caf000a5 (patch) | |
tree | ef95b6d7421f0e967e2d10c347895f81b3fa6378 /Documentation/devicetree/bindings/rng/imx-rngc.txt | |
parent | e2f744a82d725ab55091cccfb8e527b4220471f0 (diff) | |
download | talos-obmc-linux-5ef288d42aefef63f728116818a097b3caf000a5.tar.gz talos-obmc-linux-5ef288d42aefef63f728116818a097b3caf000a5.zip |
clk: mediatek: mark mtk_infrasys_init_early __init
On gcc-4.6, we get a harmless link-time warning:
WARNING: vmlinux.o(.text.unlikely+0x196a0): Section mismatch in reference from the function mtk_infrasys_init_early() to the function .init.text:mtk_clk_register_cpumuxes()
The function mtk_infrasys_init_early() references
the function __init mtk_clk_register_cpumuxes().
This is often because mtk_infrasys_init_early lacks a __init
annotation or the annotation of mtk_clk_register_cpumuxes is wrong.
Newer compilers inline this function so they don't warn, but
marking it __init is the right solution for all versions.
Fixes: e9862118272a ("clk: mediatek: Add MT2701 clock support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree/bindings/rng/imx-rngc.txt')
0 files changed, 0 insertions, 0 deletions