Skip to content

Commit

Permalink
gpio: xra1403: select REGMAP_SPI
Browse files Browse the repository at this point in the history
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: 5704520 ("gpio: xra1403: Add EXAR XRA1403 SPI GPIO expander driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by:  Nandor Han <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
  • Loading branch information
arndb authored and linusw committed May 31, 2017
1 parent 073570d commit 665dff9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 665dff9

Please sign in to comment.