summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-05-30 13:13:17 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-05-31 02:13:24 +0200
commit665dff997e166c67663f2e0fce16392c70d31511 (patch)
tree23e49aa7b218444b82c604ca07d8ae666336420d /drivers/gpio
parent073570dcb5687f6dd0bbc541f68c03c08a57ec58 (diff)
downloadlinux-665dff997e166c67663f2e0fce16392c70d31511.tar.bz2
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 <arnd@arndb.de> Reviewed-by: Nandor Han <nandor.han@ge.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 89e805fc5eba..ee0bb47bf02e 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.