]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iio: chemical: select IRQ_WORK for ATLAS ph sensor
authorArnd Bergmann <arnd@arndb.de>
Tue, 2 Feb 2016 14:36:39 +0000 (15:36 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 6 Feb 2016 18:36:58 +0000 (18:36 +0000)
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: Arnd Bergmann <arnd@arndb.de>
Fixes: 27dec00ecf2d ("iio: chemical: add Atlas pH-SM sensor support")
Reviewed-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/chemical/Kconfig

index ce7cd1370f74a13d31fb8390f4d570938304a81b..f73290f84c9004aa15cfb5a22bc3e038bc9fa901 100644 (file)
@@ -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.