Commit fbb91389 authored by Javier Carrasco's avatar Javier Carrasco Committed by Jonathan Cameron

iio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig

This driver makes use of triggered buffers, but does not select the
required modules.

Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.

Fixes: 1d8f4b04 ("iio: magnetometer: add a driver for Voltafield AF8133J magnetometer")
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: default avatarAndrey Skvortsov <andrej.skvortzov@gmail.com>
Link: https://patch.msgid.link/20241003-iio-select-v1-11-67c0385197cd@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent aa99ef68
...@@ -11,6 +11,8 @@ config AF8133J ...@@ -11,6 +11,8 @@ config AF8133J
depends on I2C depends on I2C
depends on OF depends on OF
select REGMAP_I2C select REGMAP_I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help help
Say yes here to build support for Voltafield AF8133J I2C-based Say yes here to build support for Voltafield AF8133J I2C-based
3-axis magnetometer chip. 3-axis magnetometer chip.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment