]> git.baikalelectronics.ru Git - kernel.git/commit
clk: rockchip: fix section mismatches with new child-clocks
authorHeiko Stübner <heiko@sntech.de>
Sat, 26 Dec 2015 13:07:15 +0000 (14:07 +0100)
committerMichael Turquette <mturquette@baylibre.com>
Sat, 2 Jan 2016 21:40:29 +0000 (13:40 -0800)
commitb6a7ce34503bb3154c4422be498e7902019455fa
tree45c9a879220f0583224e1b65d19d673367d30db0
parent3a7d7f64ba32dad8ddc4de25a05179a03b761a16
clk: rockchip: fix section mismatches with new child-clocks

To model the muxes downstream of fractional dividers we introduced the
child property, allowing to describe a direct child clock.
The first implementation seems to cause section warnings, as the core
clock-tree is marked as initdata while the data pointed to from the
child element is not.

While there may be some way to also set that missing property in the
inline notation I didn't find it, so to actually fix the issue for now
move the sub-definitions into separate declarations that can have
their own __initdata properties.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
drivers/clk/rockchip/clk-rk3036.c
drivers/clk/rockchip/clk-rk3188.c
drivers/clk/rockchip/clk-rk3288.c
drivers/clk/rockchip/clk.h