iio: addac: Kconfig: update ad74413r selections
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Tue, 12 Sep 2023 08:54:21 +0000 (11:54 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 5 Oct 2023 17:06:45 +0000 (18:06 +0100)
Building ad74413r without selecting IIO_BUFFER and
IIO_TRIGGERED_BUFFER generates error with respect to the iio trigger
functions that are used within the driver.
Update the Kconfig accordingly.

Fixes: fea251b6a5db ("iio: addac: add AD74413R driver")
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20230912085421.51102-1-antoniu.miclaus@analog.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/addac/Kconfig

index 877f912..397544f 100644 (file)
@@ -24,6 +24,8 @@ config AD74413R
        depends on GPIOLIB && SPI
        select REGMAP_SPI
        select CRC8
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
        help
          Say yes here to build support for Analog Devices AD74412R/AD74413R
          quad-channel software configurable input/output solution.