Commit 3b31b783 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jonathan Cameron

iio: chemical: select IRQ_WORK for ATLAS ph sensor

The newly added atlas-ph-sensor driver uses irq_work_queue, which
may not always be enabled:

ERROR: "irq_work_queue" [drivers/iio/chemical/atlas-ph-sensor.ko] undefined!

This adds a 'select' statement to Kconfig to ensure it's there
when we need it.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 27dec00e ("iio: chemical: add Atlas pH-SM sensor support")
Reviewed-by: default avatarMatt Ranostay <mranostay@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 182b4905
......@@ -10,6 +10,7 @@ config ATLAS_PH_SENSOR
select REGMAP_I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
select IRQ_WORK
help
Say Y here to build I2C interface support for the Atlas
Scientific OEM pH-SM sensor.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment