]> git.baikalelectronics.ru Git - kernel.git/commit
clk: rockchip: fix the clk config to support module build
authorElaine Zhang <zhangqing@rock-chips.com>
Mon, 14 Sep 2020 02:23:04 +0000 (10:23 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 22 Sep 2020 13:16:38 +0000 (15:16 +0200)
commitc9170e75efc429857062384ed9e6df131b9bd2c7
tree91c76db17085833ab609fb7407fcfce9ee869e5a
parentd7ea4db4eeafeb07669c5936d5d46062ab94ecc5
clk: rockchip: fix the clk config to support module build

use CONFIG_COMMON_CLK_ROCKCHIP for Rk common clk drivers.
use CONFIG_CLK_RKXX for Rk soc clk driver.
Mark CONFIG_CLK_RK3399 to "tristate",
to support building Rk3399 SoC clock driver as module.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20200914022304.23908-1-zhangqing@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/Kconfig
drivers/clk/rockchip/Kconfig [new file with mode: 0644]
drivers/clk/rockchip/Makefile