]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: clk: guard set_parent implementations against OF_PLATDATA
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 25 Jan 2018 14:27:10 +0000 (15:27 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 28 Jan 2018 16:12:39 +0000 (17:12 +0100)
commit9b2e043252aeb939c48db08d418eaa2f340cc98a
treea1d5821776a9abd2920dbb1dbdbd99047039fea9
parenta31bacda3e35428eb34fe7b11799039a2fb8b5f6
rockchip: clk: guard set_parent implementations against OF_PLATDATA

The set_parent implementations do not make sense when OF_PLATDATA is
enabled.  We guard these against OF_PLATDATA and don't populate the
set_parent-op when this is the case.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/clk/rockchip/clk_rk3288.c
drivers/clk/rockchip/clk_rk3368.c
drivers/clk/rockchip/clk_rk3399.c