Skip to content

Commit

Permalink
iio: adc: dln2-adc: fix build error
Browse files Browse the repository at this point in the history
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: Randy Dunlap <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: [email protected]
Cc: Jack Andersen <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
  • Loading branch information
rddunlap authored and jic23 committed Oct 8, 2017
1 parent be94a6f commit 5151b4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/iio/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ config DA9150_GPADC
config DLN2_ADC
tristate "Diolan DLN-2 ADC driver support"
depends on MFD_DLN2
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Diolan DLN-2 ADC.

Expand Down

0 comments on commit 5151b4a

Please sign in to comment.