summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-06-28 12:31:52 +0200
committerJonathan Cameron <jic23@kernel.org>2015-07-05 14:15:12 +0100
commit5d9fc0f63f561e7fa4da0883a4d0bd8e6a8b5de6 (patch)
treec403f5acaa1fff1db6ee49d985ac8f7a93f50e54 /drivers/iio
parent5919a0839bd65252f7306a0ee4879e697e00cab1 (diff)
downloadop-kernel-dev-5d9fc0f63f561e7fa4da0883a4d0bd8e6a8b5de6.zip
op-kernel-dev-5d9fc0f63f561e7fa4da0883a4d0bd8e6a8b5de6.tar.gz
iio:light:ltr501: fix regmap dependency
The use of regmap in commit 2f2c96338afc requires REGMAP_I2C to be selected, in order to meet all dependencies. Fixes: 2f2c96338afc ("iio: ltr501: Add regmap support.") Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Acked-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/light/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index df995a4..a5c5925 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -188,6 +188,7 @@ config SENSORS_LM3533
config LTR501
tristate "LTR-501ALS-01 light sensor"
depends on I2C
+ select REGMAP_I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
OpenPOWER on IntegriCloud