diff options
author | Hartmut Knaack <knaack.h@gmx.de> | 2015-06-28 13:31:52 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-19 13:48:17 +0300 |
commit | c42b9e13f98239ec77acf7c4a20003e1cdd9bace (patch) | |
tree | 302a2962ecc33ce0275f70444b22e6a49a5a769e /drivers/iio | |
parent | fe5adb917431aafe1324a2455634ed59147df807 (diff) | |
download | linux-c42b9e13f98239ec77acf7c4a20003e1cdd9bace.tar.xz |
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>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/light/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig index df995a42d5f3..a5c59251ec0e 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -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 |