Skip to content

Commit 742014a

Browse files
krzkbebarino
authored andcommitted
clk: stm32: 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-3-4d2df5603332@linaro.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent e813fc7 commit 742014a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/clk/stm32/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
menuconfig COMMON_CLK_STM32MP
55
bool "Clock support for common STM32MP clocks"
66
depends on ARCH_STM32 || COMPILE_TEST
7-
default y
7+
default ARCH_STM32
88
select RESET_CONTROLLER
99
help
1010
Support for STM32MP SoC family clocks.
@@ -14,21 +14,21 @@ if COMMON_CLK_STM32MP
1414
config COMMON_CLK_STM32MP135
1515
bool "Clock driver for stm32mp13x clocks"
1616
depends on ARM || COMPILE_TEST
17-
default y
17+
default ARCH_STM32
1818
help
1919
Support for stm32mp13x SoC family clocks.
2020

2121
config COMMON_CLK_STM32MP157
2222
bool "Clock driver for stm32mp15x clocks"
2323
depends on ARM || COMPILE_TEST
24-
default y
24+
default ARCH_STM32
2525
help
2626
Support for stm32mp15x SoC family clocks.
2727

2828
config COMMON_CLK_STM32MP257
2929
bool "Clock driver for stm32mp25x clocks"
3030
depends on ARM64 || COMPILE_TEST
31-
default y
31+
default ARCH_STM32
3232
help
3333
Support for stm32mp25x SoC family clocks.
3434

0 commit comments

Comments
 (0)