]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27e26c862096863cb930b2c6e18519e9921508b0
tree17d6728305f6d964572555f8ab2b4d83bbe2e771
parentb5fcd209e0e69690aafb8c4ff015f7be17bd42c5
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