Commit 5d9fc0f6 authored by Hartmut Knaack's avatar Hartmut Knaack Committed by Jonathan Cameron

iio:light:ltr501: fix regmap dependency

The use of regmap in commit 2f2c9633 requires REGMAP_I2C to be selected, in
order to meet all dependencies.

Fixes: 2f2c9633 ("iio: ltr501: Add regmap support.")
Signed-off-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Acked-by: default avatarDaniel Baluta <daniel.baluta@intel.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 5919a083
...@@ -188,6 +188,7 @@ config SENSORS_LM3533 ...@@ -188,6 +188,7 @@ config SENSORS_LM3533
config LTR501 config LTR501
tristate "LTR-501ALS-01 light sensor" tristate "LTR-501ALS-01 light sensor"
depends on I2C depends on I2C
select REGMAP_I2C
select IIO_BUFFER select IIO_BUFFER
select IIO_TRIGGERED_BUFFER select IIO_TRIGGERED_BUFFER
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment