iio:ti_am335x_adc ensure that IIO_KFIFO_BUF is not selected witout IIO_BUFFER
authorJonathan Cameron <jic23@kernel.org>
Wed, 25 Sep 2013 20:37:00 +0000 (21:37 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 28 Sep 2013 10:36:29 +0000 (11:36 +0100)
This avoids build problems such iio_push_to_buffers* not being defined.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
drivers/iio/adc/Kconfig

index 8b885188b83920215624e28564a35095cb7c9b76..2209f28441e94d013ef435a100c17d6920677e08 100644 (file)
@@ -177,6 +177,7 @@ config TI_ADC081C
 config TI_AM335X_ADC
        tristate "TI's AM335X ADC driver"
        depends on MFD_TI_AM335X_TSCADC
+       select IIO_BUFFER
        select IIO_KFIFO_BUF
        help
          Say yes here to build support for Texas Instruments ADC