From: Hartmut Knaack Date: Sun, 28 Jun 2015 10:31:52 +0000 (+0200) Subject: iio:light:ltr501: fix regmap dependency X-Git-Tag: v4.2~181^2~2^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d9fc0f63f561e7fa4da0883a4d0bd8e6a8b5de6;p=platform%2Fkernel%2Flinux-amlogic.git 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 Acked-by: Daniel Baluta Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig index df995a4..a5c5925 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