Skip to content

Commit e813fc7

Browse files
krzkbebarino
authored andcommitted
clk: nuvoton: Do not enable by default during compile testing
Enabling the compile test should not cause automatic enabling of all drivers. Restrict the default to ARCH also for individual driver, even though its choice is not visible without selecting parent Kconfig symbol, because otherwise selecting parent would select the child during compile testing. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250404-kconfig-defaults-clk-v1-2-4d2df5603332@linaro.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 2f80dfa commit e813fc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/clk/nuvoton/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
config COMMON_CLK_NUVOTON
55
bool "Nuvoton clock controller common support"
66
depends on ARCH_MA35 || COMPILE_TEST
7-
default y
7+
default ARCH_MA35
88
help
99
Say y here to enable common clock controller for Nuvoton platforms.
1010

1111
if COMMON_CLK_NUVOTON
1212

1313
config CLK_MA35D1
1414
bool "Nuvoton MA35D1 clock controller support"
15-
default y
15+
default ARCH_MA35
1616
help
1717
Build the clock controller driver for MA35D1 SoC.
1818

0 commit comments

Comments
 (0)