Commit 665dff99 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Linus Walleij

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: 5704520d ("gpio: xra1403: Add EXAR XRA1403 SPI GPIO expander driver")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarNandor Han <nandor.han@ge.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 073570dc
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment