Skip to content

Commit f06a610

Browse files
krzkwens
authored andcommitted
clk: sunxi: 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 drivers, even though their 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://patch.msgid.link/20250404-kconfig-defaults-clk-v1-5-4d2df5603332@linaro.org Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent 115bd1f commit f06a610

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/clk/sunxi/Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
menuconfig CLK_SUNXI
33
bool "Legacy clock support for Allwinner SoCs"
44
depends on (ARM && ARCH_SUNXI) || COMPILE_TEST
5-
default y
5+
default (ARM && ARCH_SUNXI)
66

77
if CLK_SUNXI
88

99
config CLK_SUNXI_CLOCKS
1010
bool "Legacy clock drivers"
11-
default y
11+
default ARCH_SUNXI
1212
help
1313
Legacy clock drivers being used on older (A10, A13, A20,
1414
A23, A31, A80) SoCs. These drivers are kept around for
@@ -19,22 +19,22 @@ config CLK_SUNXI_CLOCKS
1919

2020
config CLK_SUNXI_PRCM_SUN6I
2121
bool "Legacy A31 PRCM driver"
22-
default y
22+
default ARCH_SUNXI
2323
help
2424
Legacy clock driver for the A31 PRCM clocks. Those are
2525
usually needed for the PMIC communication, mostly.
2626

2727
config CLK_SUNXI_PRCM_SUN8I
2828
bool "Legacy sun8i PRCM driver"
29-
default y
29+
default ARCH_SUNXI
3030
help
3131
Legacy clock driver for the sun8i family PRCM clocks.
3232
Those are usually needed for the PMIC communication,
3333
mostly.
3434

3535
config CLK_SUNXI_PRCM_SUN9I
3636
bool "Legacy A80 PRCM driver"
37-
default y
37+
default ARCH_SUNXI
3838
help
3939
Legacy clock driver for the A80 PRCM clocks. Those are
4040
usually needed for the PMIC communication, mostly.

0 commit comments

Comments
 (0)