Skip to content

Commit

Permalink
iio:light:ltr501: fix regmap dependency
Browse files Browse the repository at this point in the history
The use of regmap in commit 2f2c963 requires REGMAP_I2C to be selected, in
order to meet all dependencies.

Fixes: 2f2c963 ("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>
  • Loading branch information
Hartmut Knaack authored and Jonathan Cameron committed Jul 19, 2015
1 parent fe5adb9 commit c42b9e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iio/light/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c42b9e1

Please sign in to comment.