Skip to content

Commit 016a884

Browse files
ynezzjic23
authored andcommitted
iio: chemical: sps30: fix missing triggered buffer dependency
SPS30 uses triggered buffer, but the dependency is not specified in the Kconfig file. Fix this by selecting IIO_BUFFER and IIO_TRIGGERED_BUFFER config symbols. Cc: [email protected] Fixes: 232e0f6 ("iio: chemical: add support for Sensirion SPS30 sensor") Signed-off-by: Petr Štetiar <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent e43d110 commit 016a884

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/iio/chemical/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ config SPS30
9191
tristate "SPS30 particulate matter sensor"
9292
depends on I2C
9393
select CRC8
94+
select IIO_BUFFER
95+
select IIO_TRIGGERED_BUFFER
9496
help
9597
Say Y here to build support for the Sensirion SPS30 particulate
9698
matter sensor.

0 commit comments

Comments
 (0)