Commit 5151b4af authored by Randy Dunlap's avatar Randy Dunlap Committed by Jonathan Cameron

iio: adc: dln2-adc: fix build error

The dln2-adc driver uses interface(s) that are controlled by the
IIO_TRIGGERED_BUFFER Kconfig symbol, so the driver needs to select
that symbol to prevent the build error.

drivers/iio/adc/dln2-adc.o: In function `dln2_adc_probe':
dln2-adc.c:(.text+0x528): undefined reference to `devm_iio_triggered_buffer_setup'
Signed-off-by: default avatarRandy Dunlap <>
Reported-by: default avatarkbuild test robot <>
Cc: Jonathan Cameron <>
Cc: Jack Andersen <>
Signed-off-by: default avatarJonathan Cameron <>
parent be94a6f6
......@@ -243,6 +243,8 @@ config DA9150_GPADC
config DLN2_ADC
tristate "Diolan DLN-2 ADC driver support"
depends on MFD_DLN2
Say yes here to build support for Diolan DLN-2 ADC.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment