• Heiko Stübner's avatar
    clk: rockchip: fix section mismatches with new child-clocks · 5b738403
    Heiko Stübner authored
    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: default avatarHeiko Stuebner <heiko@sntech.de>
    Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
    5b738403
clk.h 14.2 KB