Skip to content

Commit fbb9138

Browse files
javiercarrascocruzjic23
authored andcommitted
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: 1d8f4b0 ("iio: magnetometer: add a driver for Voltafield AF8133J magnetometer") Signed-off-by: Javier Carrasco <[email protected]> Reviewed-by: Andrey Skvortsov <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent aa99ef6 commit fbb9138

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/iio/magnetometer/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ config AF8133J
1111
depends on I2C
1212
depends on OF
1313
select REGMAP_I2C
14+
select IIO_BUFFER
15+
select IIO_TRIGGERED_BUFFER
1416
help
1517
Say yes here to build support for Voltafield AF8133J I2C-based
1618
3-axis magnetometer chip.

0 commit comments

Comments
 (0)