summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-07-04 15:56:57 (GMT)
committerJonathan Cameron <jic23@kernel.org>2015-07-19 10:48:13 (GMT)
commit53c8eccb710fbe10ad5ad1e056486f953c4cba18 (patch)
tree11b32f3154bcb99554331e30c7bb8e8e22ce6e6f
parent0f16fc8bb38156c842f6976ddbdf4f266e893a1b (diff)
downloadlinux-53c8eccb710fbe10ad5ad1e056486f953c4cba18.tar.xz
iio:light:stk3310: Fix REGMAP_I2C dependency
The stk3310 driver makes use of regmap_i2c, so this dependency needs to be reflected in Kconfig. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/iio/light/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index e6198b7..df995a4 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -201,6 +201,7 @@ config LTR501
config STK3310
tristate "STK3310 ALS and proximity sensor"
depends on I2C
+ select REGMAP_I2C
help
Say yes here to get support for the Sensortek STK3310 ambient light
and proximity sensor. The STK3311 model is also supported by this