Skip to content

Commit 6afed10

Browse files
committed
iio: adc: select buffer for at91-sama5d2_adc
We need to select the buffer code, otherwise we get build errors with undefined functions on the trigger and buffer, if we select just IIO and then AT91_SAMA5D2_ADC from menuconfig This adds a Kconfig 'select' statement like other ADC drivers have it already. Fixes: 5e1a1da ("iio: adc: at91-sama5d2_adc: add hw trigger and buffer support") Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent d5b8103 commit 6afed10

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/iio/adc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ config AT91_SAMA5D2_ADC
159159
depends on ARCH_AT91 || COMPILE_TEST
160160
depends on HAS_IOMEM
161161
depends on HAS_DMA
162+
select IIO_BUFFER
162163
select IIO_TRIGGERED_BUFFER
163164
help
164165
Say yes here to build support for Atmel SAMA5D2 ADC which is

0 commit comments

Comments
 (0)