diff mbox series

gpio: pca953x: Add regmap dependency for PCA953x driver

Message ID 20181216173858.4125-1-marek.vasut+renesas@gmail.com (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series gpio: pca953x: Add regmap dependency for PCA953x driver | expand

Commit Message

Marek Vasut Dec. 16, 2018, 5:38 p.m. UTC
Select REGMAP_I2C in Kconfig, since the driver now depends on regmap
and this was missing, thus breaking build on various systems.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij Dec. 16, 2018, 7:32 p.m. UTC | #1
On Sun, Dec 16, 2018 at 6:39 PM Marek Vasut <marek.vasut@gmail.com> wrote:

> Select REGMAP_I2C in Kconfig, since the driver now depends on regmap
> and this was missing, thus breaking build on various systems.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Patch applied!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 833a1b51c948..be637d77c7f8 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -849,6 +849,7 @@  config GPIO_MC9S08DZ60
 
 config GPIO_PCA953X
 	tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
+	select REGMAP_I2C
 	help
 	  Say yes here to provide access to several register-oriented
 	  SMBus I/O expanders, made mostly by NXP or TI.  Compatible