[PATCH v1 8/8] clk: rockchip: fix the clk config to support module build
Elaine Zhang
zhangqing at rock-chips.com
Mon Sep 18 00:31:51 PDT 2023
Mark COMMON_CLK_ROCKCHIP\CONFIG_CLK_RK3399\CONFIG_CLK_RK3568\
CONFIG_CLK_RK3588 to "tristate",
to support building Rk3399\Rk3568\Rk3588 SoC clock driver as module.
Signed-off-by: Elaine Zhang <zhangqing at rock-chips.com>
---
drivers/clk/rockchip/Kconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/rockchip/Kconfig b/drivers/clk/rockchip/Kconfig
index 9aad86925cd2..8574c2f6ecf6 100644
--- a/drivers/clk/rockchip/Kconfig
+++ b/drivers/clk/rockchip/Kconfig
@@ -2,7 +2,7 @@
# common clock support for ROCKCHIP SoC family.
config COMMON_CLK_ROCKCHIP
- bool "Rockchip clock controller common support"
+ tristate "Rockchip clock controller common support"
depends on ARCH_ROCKCHIP
default ARCH_ROCKCHIP
help
@@ -87,21 +87,21 @@ config CLK_RK3368
Build the driver for RK3368 Clock Driver.
config CLK_RK3399
- bool "Rockchip RK3399 clock controller support"
+ tristate "Rockchip RK3399 clock controller support"
depends on ARM64 || COMPILE_TEST
default y
help
Build the driver for RK3399 Clock Driver.
config CLK_RK3568
- bool "Rockchip RK3568 clock controller support"
+ tristate "Rockchip RK3568 clock controller support"
depends on ARM64 || COMPILE_TEST
default y
help
Build the driver for RK3568 Clock Driver.
config CLK_RK3588
- bool "Rockchip RK3588 clock controller support"
+ tristate "Rockchip RK3588 clock controller support"
depends on ARM64 || COMPILE_TEST
default y
help
--
2.17.1
More information about the Linux-rockchip
mailing list