]> git.baikalelectronics.ru Git - kernel.git/commit
clk: COMMON_CLK_LAN966X should depend on SOC_LAN966
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 24 Feb 2022 15:29:17 +0000 (16:29 +0100)
committerStephen Boyd <sboyd@kernel.org>
Sat, 12 Mar 2022 03:27:49 +0000 (19:27 -0800)
commit3b2e4c8f40b4928cf88ff43da5739c6aeb31e089
tree3e83a58dded8daa1d6c33822aff75fca76e52182
parentc291b91a175e18008713417a51f772eab1508a74
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: b0f82ff7d18954ed ("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>
drivers/clk/Kconfig