mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 19:36:41 +00:00
iio:light:ltr501: fix regmap dependency
The use of regmap in commit2f2c96338a
requires REGMAP_I2C to be selected, in order to meet all dependencies. Fixes:2f2c96338a
("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>
This commit is contained in:
parent
fe5adb9174
commit
c42b9e13f9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user