iio: chemical: sps30: fix missing triggered buffer dependency
authorPetr Štetiar <ynezz@true.cz>
Thu, 27 Feb 2020 16:27:34 +0000 (17:27 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Mar 2020 16:21:23 +0000 (16:21 +0000)
commit016a8845f6da65b2203f102f192046fbb624e250
tree320c5bcd8f6f37ac61148c6ab085887189567783
parente43d110cdc206b6df4dd438cd10c81d1da910aad
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: stable@vger.kernel.org
Fixes: 232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/Kconfig