]> git.baikalelectronics.ru Git - kernel.git/commit
iio: chemical: pms7003: fix unmet triggered buffer dependency
authorTomasz Duszynski <tduszyns@gmail.com>
Fri, 13 Dec 2019 21:38:08 +0000 (22:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2020 11:08:32 +0000 (12:08 +0100)
commit6f59d7603a33de69be9c65d0565d19080f83772b
tree32277118641589c191b189051b31ff0a1513bd4d
parente4cccdfb971f3d2c0e7fb64d27a74765f725d5db
iio: chemical: pms7003: fix unmet triggered buffer dependency

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: 27c2023ab29b ("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>
drivers/iio/chemical/Kconfig