UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 18 Feb 2016 11:16:39 +0000 (19:16 +0800)
commitaa885b8db86db7cf03e7659a88d856f6680a8918
treed8ac4b383c1e2be34c46cc7f68cf62cb9d8f8485
parentb37b7d8a5cb9fbae3c59a0c6571f28dcf95333c0
UPSTREAM: 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>
(cherry picked from commit 5b73840375e3eebeb7adf957ff64a96abdf4e1a1)

Change-Id: I22c03dea33af24ba5743170325f318432cfd766f
drivers/clk/rockchip/clk-rk3036.c
drivers/clk/rockchip/clk-rk3188.c
drivers/clk/rockchip/clk-rk3288.c
drivers/clk/rockchip/clk.h