summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-07-04 17:56:57 +0200
committerJonathan Cameron <jic23@kernel.org>2015-07-05 12:18:38 +0100
commit5d6e834ac440ce6736b08880503c107d9dc3f320 (patch)
treea7d9f414b38413bc028d3406384c90efa1490396 /drivers/iio/light
parent0484edadfae3202ab165a2bff4936b80bcf1bebf (diff)
downloadblackbird-op-linux-5d6e834ac440ce6736b08880503c107d9dc3f320.tar.gz
blackbird-op-linux-5d6e834ac440ce6736b08880503c107d9dc3f320.zip
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>
Diffstat (limited to 'drivers/iio/light')
-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 e6198b7c9cbf..df995a42d5f3 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
OpenPOWER on IntegriCloud