summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2016-07-18 17:56:43 -0700
committerJonathan Cameron <jic23@kernel.org>2016-08-15 15:42:04 +0100
commit193e2d4fd91c5e5d563395f9577621dac4f4df31 (patch)
tree2dfa3ebf581ce1fcff8abfbbfa3144c87b0461bb /drivers/iio/light
parent45e98152850c36560484f3fa3bb857a4bfe1a419 (diff)
downloadlinux-193e2d4fd91c5e5d563395f9577621dac4f4df31.tar.gz
linux-193e2d4fd91c5e5d563395f9577621dac4f4df31.tar.bz2
linux-193e2d4fd91c5e5d563395f9577621dac4f4df31.zip
iio: add Kconfig selects needed for triggered buffer compiles
Select IIO_BUFFER and IIO_TRIGGERED_BUFFER to compile. Remove IIO_TRIGGER if present since IIO_BUFFER selects it. Signed-off-by: Alison Schofield <amsfield22@gmail.com> Cc: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light')
-rw-r--r--drivers/iio/light/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index 7c566f516572..12ceb11bc7c5 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -238,6 +238,8 @@ config MAX44000
tristate "MAX44000 Ambient and Infrared Proximity Sensor"
depends on I2C
select REGMAP_I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say Y here if you want to build support for Maxim Integrated's
MAX44000 ambient and infrared proximity sensor device.