From: Arnd Bergmann Date: Tue, 30 May 2017 11:13:17 +0000 (+0200) Subject: gpio: xra1403: select REGMAP_SPI X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=665dff997e166c67663f2e0fce16392c70d31511;p=linux.git gpio: xra1403: select REGMAP_SPI Without the regmap code, we get a link error: drivers/gpio/built-in.o: In function `xra1403_probe': (.text+0x132e0): undefined reference to `__devm_regmap_init_spi' Fixes: 5704520d7880 ("gpio: xra1403: Add EXAR XRA1403 SPI GPIO expander driver") Signed-off-by: Arnd Bergmann Reviewed-by: Nandor Han Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 89e805fc5eba0..ee0bb47bf02e5 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1229,6 +1229,7 @@ config GPIO_PISOSR config GPIO_XRA1403 tristate "EXAR XRA1403 16-bit GPIO expander" + select REGMAP_SPI help GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander.