Skip to content

Commit d49765b

Browse files
rddunlapBartosz Golaszewski
authored andcommitted
gpio: GPIO_REGMAP: 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: ebe3631 ("gpio: add a reusable generic gpio_chip using regmap") Signed-off-by: Randy Dunlap <[email protected]> Cc: Michael Walle <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: [email protected] Acked-by: Michael Walle <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent fe15c26 commit d49765b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ config GPIO_GENERIC
100100
tristate
101101

102102
config GPIO_REGMAP
103-
depends on REGMAP
103+
select REGMAP
104104
tristate
105105

106106
# put drivers in the right section, in alphabetical order

0 commit comments

Comments
 (0)