Commit 7cd5c560 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Stephen Boyd

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: 54104ee0 ("clk: lan966x: Add lan966x SoC clock driver")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/eb102eae05e5667b9bd342a0c387f7f262d24bda.1645716471.git.geert+renesas@glider.beReviewed-by: default avatarHoratiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent cde8e3ae
...@@ -231,6 +231,7 @@ config COMMON_CLK_GEMINI ...@@ -231,6 +231,7 @@ config COMMON_CLK_GEMINI
config COMMON_CLK_LAN966X config COMMON_CLK_LAN966X
bool "Generic Clock Controller driver for LAN966X SoC" bool "Generic Clock Controller driver for LAN966X SoC"
depends on SOC_LAN966 || COMPILE_TEST
help help
This driver provides support for Generic Clock Controller(GCK) on This driver provides support for Generic Clock Controller(GCK) on
LAN966X SoC. GCK generates and supplies clock to various peripherals LAN966X SoC. GCK generates and supplies clock to various peripherals
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment