Re: [PATCH] gpio: xra1403: select REGMAP_SPI
On Tue, May 30, 2017 at 1:13 PM, Arnd Bergmann wrote: > 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 Patch applied. Yours, Linus Walleij
RE: [PATCH] gpio: xra1403: select REGMAP_SPI
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 30 May 2017 14:13 > To: Linus Walleij > Cc: Han, Nandor (GE Healthcare) ; Arnd Bergmann > ; linux-g...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: EXT: [PATCH] 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 > --- > drivers/gpio/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 66d1f353ca73..238fc231081a 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -1241,6 +1241,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. > > -- > 2.9.0