OSDN Git Service

iio: adc: dln2-adc: fix build error
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 7 Oct 2017 23:53:20 +0000 (16:53 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Oct 2017 10:42:00 +0000 (11:42 +0100)
commit5151b4afb41dd7c5e13a130efcc95326a49da8c6
tree17d6728305f6d964572555f8ab2b4d83bbe2e771
parentbe94a6f6d488b4767662e8949dc62361bd1d6311
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: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: linux-iio@vger.kernel.org
Cc: Jack Andersen <jackoalan@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig