iio: pms7003: select IIO_TRIGGERED_BUFFER
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Mar 2019 09:00:52 +0000 (10:00 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 Mar 2019 16:34:56 +0000 (16:34 +0000)
commitf6a7bf2ccf22db3e1b936ebc03898f9c025c051e
tree4b6de7c0971a14709c47f615f36b45cb3a79a2d0
parent3d02d7082e5823598090530c3988a35f69689943
iio: pms7003: select IIO_TRIGGERED_BUFFER

Without IIO_TRIGGERED_BUFFER, this driver fails to link:

drivers/iio/chemical/pms7003.o: In function `pms7003_probe':
pms7003.c:(.text+0x21c): undefined reference to `devm_iio_triggered_buffer_setup'
pms7003.c:(.text+0x21c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `devm_iio_triggered_buffer_setup'

Fixes: a1d642266c14 ("iio: chemical: add support for Plantower PMS7003 sensor")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tomasz Duszynski <tduszyns@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/Kconfig