diff options
author | Alison Schofield <amsfield22@gmail.com> | 2016-07-19 02:56:43 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-08-15 16:42:04 +0200 |
commit | 193e2d4fd91c5e5d563395f9577621dac4f4df31 (patch) | |
tree | 2dfa3ebf581ce1fcff8abfbbfa3144c87b0461bb /drivers/iio/humidity | |
parent | iio: stx104: Unregister IIO device on remove callback (diff) | |
download | linux-193e2d4fd91c5e5d563395f9577621dac4f4df31.tar.xz 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/humidity')
-rw-r--r-- | drivers/iio/humidity/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/humidity/Kconfig b/drivers/iio/humidity/Kconfig index 738a86d9e4a9..d04124345992 100644 --- a/drivers/iio/humidity/Kconfig +++ b/drivers/iio/humidity/Kconfig @@ -6,6 +6,8 @@ menu "Humidity sensors" config AM2315 tristate "Aosong AM2315 relative humidity and temperature sensor" depends on I2C + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help If you say yes here you get support for the Aosong AM2315 relative humidity and ambient temperature sensor. |