From: Randy Dunlap Date: Sun, 26 Feb 2023 05:39:48 +0000 (-0800) Subject: gpio: GPIO_REGMAP: select REGMAP instead of depending on it X-Git-Tag: v6.1.37~2436 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8df93c8da5327b4eb1cfebf7efa5271c89b3a377;p=platform%2Fkernel%2Flinux-starfive.git gpio: GPIO_REGMAP: select REGMAP instead of depending on it [ Upstream commit d49765b5f4320a402fbc4ed5edfd73d87640f27c ] 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 Cc: Michael Walle Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org Acked-by: Michael Walle Signed-off-by: Bartosz Golaszewski Signed-off-by: Sasha Levin --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index a01af118..e3af86f0 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