Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1653160
| From | "Han, Nandor (GE Healthcare)" <nandor.han@ge.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH] gpio: xra1403: select REGMAP_SPI |
| Date | 2017-05-30 13:50 +0200 |
| Message-ID | <tMNOW-6P4-31@gated-at.bofh.it> (permalink) |
| References | <tMNlU-6D9-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> -----Original Message-----
> From: Arnd Bergmann [mailto:arnd@arndb.de]
> Sent: 30 May 2017 14:13
> To: Linus Walleij <linus.walleij@linaro.org>
> Cc: Han, Nandor (GE Healthcare) <nandor.han@ge.com>; Arnd Bergmann <arnd@arndb.de>; linux-gpio@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 <arnd@arndb.de>
Reviewed-by: Nandor Han <nandor.han@ge.com>
> ---
> 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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] gpio: xra1403: select REGMAP_SPI Arnd Bergmann <arnd@arndb.de> - 2017-05-30 13:20 +0200 RE: [PATCH] gpio: xra1403: select REGMAP_SPI "Han, Nandor (GE Healthcare)" <nandor.han@ge.com> - 2017-05-30 13:50 +0200 Re: [PATCH] gpio: xra1403: select REGMAP_SPI Linus Walleij <linus.walleij@linaro.org> - 2017-05-31 02:20 +0200
csiph-web