Skip to content

Commit 7cd5c56

Browse files
geertubebarino
authored andcommitted
clk: COMMON_CLK_LAN966X should depend on SOC_LAN966
The LAN966x Generic Clock Controller is only present on Microchip LAN966x SoCs. Hence add a dependency on SOC_LAN966, to prevent asking the user about this driver when configuring a kernel without LAN966x SoC support. Fixes: 54104ee ("clk: lan966x: Add lan966x SoC clock driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/eb102eae05e5667b9bd342a0c387f7f262d24bda.1645716471.git.geert+renesas@glider.be Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent cde8e3a commit 7cd5c56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ config COMMON_CLK_GEMINI
231231

232232
config COMMON_CLK_LAN966X
233233
bool "Generic Clock Controller driver for LAN966X SoC"
234+
depends on SOC_LAN966 || COMPILE_TEST
234235
help
235236
This driver provides support for Generic Clock Controller(GCK) on
236237
LAN966X SoC. GCK generates and supplies clock to various peripherals

0 commit comments

Comments
 (0)