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>
This commit is contained in:
Hartmut Knaack 2015-07-04 17:56:57 +02:00 committed by Jonathan Cameron
parent 0f16fc8bb3
commit 53c8eccb71

View File

@ -201,6 +201,7 @@ config LTR501
config STK3310 config STK3310
tristate "STK3310 ALS and proximity sensor" tristate "STK3310 ALS and proximity sensor"
depends on I2C depends on I2C
select REGMAP_I2C
help help
Say yes here to get support for the Sensortek STK3310 ambient light Say yes here to get support for the Sensortek STK3310 ambient light
and proximity sensor. The STK3311 model is also supported by this and proximity sensor. The STK3311 model is also supported by this