diff options
author | Randy Dunlap <[email protected]> | 2023-02-25 21:39:48 -0800 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2023-03-06 11:16:56 +0100 |
commit | d49765b5f4320a402fbc4ed5edfd73d87640f27c (patch) | |
tree | 3317f899c4489d3cd5eb10e48b485f63b09ebaa9 | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) |
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: ebe363197e52 ("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]>
-rw-r--r-- | drivers/gpio/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 13be729710f2..badbe0582318 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -100,7 +100,7 @@ config GPIO_GENERIC tristate config GPIO_REGMAP - depends on REGMAP + select REGMAP tristate # put drivers in the right section, in alphabetical order |