Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hartmut Knaack and committed by
Jonathan Cameron
c42b9e13 fe5adb91

+1
+1
drivers/iio/light/Kconfig
··· 188 188 config LTR501 189 189 tristate "LTR-501ALS-01 light sensor" 190 190 depends on I2C 191 + select REGMAP_I2C 191 192 select IIO_BUFFER 192 193 select IIO_TRIGGERED_BUFFER 193 194 help