Skip to content

Commit 0ffad67

Browse files
rddunlapbebarino
authored andcommitted
clk: HI655X: select REGMAP instead of depending on it
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: 3a49afb ("clk: enable hi655x common clk automatically") Signed-off-by: Randy Dunlap <[email protected]> Cc: Riku Voipio <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Michael Turquette <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 94511eb commit 0ffad67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ config COMMON_CLK_RK808
9191
config COMMON_CLK_HI655X
9292
tristate "Clock driver for Hi655x" if EXPERT
9393
depends on (MFD_HI655X_PMIC || COMPILE_TEST)
94-
depends on REGMAP
94+
select REGMAP
9595
default MFD_HI655X_PMIC
9696
help
9797
This driver supports the hi655x PMIC clock. This

0 commit comments

Comments
 (0)