linux-stable/drivers/iio/chemical
Tomasz Duszynski 6786d6a4f3 iio: chemical: pms7003: fix unmet triggered buffer dependency
commit 217afe63cc upstream.

IIO triggered buffer depends on IIO buffer which is missing from Kconfig
file. This should go unnoticed most of the time because there's a
chance something else has already enabled buffers. In some rare cases
though one might experience kbuild warnings about unmet direct
dependencies and build failures due to missing symbols.

Fix this by selecting IIO_BUFFER explicitly.

Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com>
Fixes: a1d642266c ("iio: chemical: add support for Plantower PMS7003 sensor")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:22:33 +01:00
..
ams-iaq-core.c iio: add SPDX identifier for various drivers 2018-02-18 11:55:19 +00:00
atlas-ph-sensor.c iio: chemical: atlas-ph-sensor: correct IIO_TEMP values to millicelsius 2019-01-12 17:06:49 +00:00
bme680.h iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
bme680_core.c iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
bme680_i2c.c iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
bme680_spi.c iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
ccs811.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig iio: chemical: pms7003: fix unmet triggered buffer dependency 2020-01-23 08:22:33 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
pms7003.c iio: chemical: pms7003: extend supported sensors list 2019-04-04 20:19:40 +01:00
sgp30.c iio: chemical: sgp30: Support Sensirion SGP30/SGPC3 sensors 2018-12-16 14:05:58 +00:00
sps30.c iio:chemical:sps30 Supress some switch fallthrough warnings. 2019-02-11 20:07:51 +00:00
vz89x.c iio: add SPDX identifier for various drivers 2018-02-18 11:55:19 +00:00