Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e45e457 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman
Browse files

clk: HI655X: select REGMAP instead of depending on it



[ Upstream commit 0ffad67784a097beccf34d297ddd1b0773b3b8a3 ]

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: 3a49afb8 ("clk: enable hi655x common clk automatically")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Riku Voipio <riku.voipio@linaro.org>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: linux-clk@vger.kernel.org
Link: https://lore.kernel.org/r/20230226053953.4681-3-rdunlap@infradead.org


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent dac08e46
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -63,7 +63,7 @@ config COMMON_CLK_RK808
config COMMON_CLK_HI655X
config COMMON_CLK_HI655X
	tristate "Clock driver for Hi655x" if EXPERT
	tristate "Clock driver for Hi655x" if EXPERT
	depends on (MFD_HI655X_PMIC || COMPILE_TEST)
	depends on (MFD_HI655X_PMIC || COMPILE_TEST)
	depends on REGMAP
	select REGMAP
	default MFD_HI655X_PMIC
	default MFD_HI655X_PMIC
	---help---
	---help---
	  This driver supports the hi655x PMIC clock. This
	  This driver supports the hi655x PMIC clock. This