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)
commit5b73840375e3eebeb7adf957ff64a96abdf4e1a1
tree45c9a879220f0583224e1b65d19d673367d30db0
parentb0158bb27c7b6e9843f541c17b24dbd964b76db6
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