gpio: xra1403: select REGMAP_SPI
authorArnd Bergmann <arnd@arndb.de>
Tue, 30 May 2017 11:13:17 +0000 (13:13 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 31 May 2017 00:13:24 +0000 (02:13 +0200)
commit665dff997e166c67663f2e0fce16392c70d31511
tree23e49aa7b218444b82c604ca07d8ae666336420d
parent073570dcb5687f6dd0bbc541f68c03c08a57ec58
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>
drivers/gpio/Kconfig