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)
commit3b31b783add21b47bc0314ddf33c9af9247a1d65
tree96d89eb6f13b5620e9a1e48f7e0572ae0ff3729b
parent182b49058e036573ccea37619d90fcaddc983536
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: 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