* [PATCH] iio: adc: ad4062: add GPIOLIB dependency
@ 2026-05-15 9:07 Arnd Bergmann
2026-05-15 13:19 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2026-05-15 9:07 UTC (permalink / raw)
To: Jonathan Cameron, Linus Walleij, Bartosz Golaszewski,
Jorge Marques
Cc: Arnd Bergmann, David Lechner, Nuno Sá, Andy Shevchenko,
Marcelo Schmitt, Jonathan Santos, Radu Sabau, linux-iio,
linux-kernel, linux-gpio
From: Arnd Bergmann <arnd@arndb.de>
The ad4062 driver gained support for the gpiochip and now fails
to build when GPIOLIB is disabled:
390-linux-ld: drivers/iio/adc/ad4062.o: in function `ad4062_gpio_get':
drivers/iio/adc/ad4062.c:1383:(.text+0x3dc): undefined reference to `gpiochip_get_data`
Add a Kconfig dependency for this.
Fixes: da1d3596b1e4 ("iio: adc: ad4062: Add GPIO Controller support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/iio/adc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 8550917226a1..2c96e500c684 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -78,6 +78,7 @@ config AD4030
config AD4062
tristate "Analog Devices AD4062 Driver"
depends on I3C
+ depends on GPIOLIB
select REGMAP_I3C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
--
2.39.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: adc: ad4062: add GPIOLIB dependency
2026-05-15 9:07 [PATCH] iio: adc: ad4062: add GPIOLIB dependency Arnd Bergmann
@ 2026-05-15 13:19 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2026-05-15 13:19 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Linus Walleij, Bartosz Golaszewski, Jorge Marques, Arnd Bergmann,
David Lechner, Nuno Sá, Andy Shevchenko, Marcelo Schmitt,
Jonathan Santos, Radu Sabau, linux-iio, linux-kernel, linux-gpio
On Fri, 15 May 2026 11:07:53 +0200
Arnd Bergmann <arnd@kernel.org> wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The ad4062 driver gained support for the gpiochip and now fails
> to build when GPIOLIB is disabled:
>
> 390-linux-ld: drivers/iio/adc/ad4062.o: in function `ad4062_gpio_get':
> drivers/iio/adc/ad4062.c:1383:(.text+0x3dc): undefined reference to `gpiochip_get_data`
>
> Add a Kconfig dependency for this.
>
> Fixes: da1d3596b1e4 ("iio: adc: ad4062: Add GPIO Controller support")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Applied and marked for stable. thanks,
J
> ---
> drivers/iio/adc/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 8550917226a1..2c96e500c684 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -78,6 +78,7 @@ config AD4030
> config AD4062
> tristate "Analog Devices AD4062 Driver"
> depends on I3C
> + depends on GPIOLIB
> select REGMAP_I3C
> select IIO_BUFFER
> select IIO_TRIGGERED_BUFFER
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-15 13:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-15 9:07 [PATCH] iio: adc: ad4062: add GPIOLIB dependency Arnd Bergmann
2026-05-15 13:19 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox