提交 c42b9e13 编写于 作者: H Hartmut Knaack 提交者: 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: NHartmut Knaack <knaack.h@gmx.de>
Acked-by: NDaniel Baluta <daniel.baluta@intel.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 fe5adb91
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册