From: Randy Dunlap Date: Sun, 26 Feb 2023 05:39:47 +0000 (-0800) Subject: clk: HI655X: select REGMAP instead of depending on it X-Git-Tag: baikal/mips/sdk6.1~193 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=307c39fb9f288dd5ace83bb1b3a9118dffd80372;p=kernel.git clk: HI655X: select REGMAP instead of depending on it [ Upstream commit ddf34cb2fe3e24198d32eb1ea16fb79d3ffb4313 ] REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". Fixes: 7d426ee9e224 ("clk: enable hi655x common clk automatically") Signed-off-by: Randy Dunlap Cc: Riku Voipio Cc: Stephen Boyd Cc: Michael Turquette Cc: linux-clk@vger.kernel.org Link: https://lore.kernel.org/r/20230226053953.4681-3-rdunlap@infradead.org Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index d79905f3e1744..5da82f2bdd211 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -92,7 +92,7 @@ config COMMON_CLK_RK808 config COMMON_CLK_HI655X tristate "Clock driver for Hi655x" if EXPERT depends on (MFD_HI655X_PMIC || COMPILE_TEST) - depends on REGMAP + select REGMAP default MFD_HI655X_PMIC help This driver supports the hi655x PMIC clock. This