iio:light:stk3310: Fix REGMAP_I2C dependency
authorHartmut Knaack <knaack.h@gmx.de>
Sat, 4 Jul 2015 15:56:57 +0000 (17:56 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 5 Jul 2015 11:18:38 +0000 (12:18 +0100)
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>
drivers/iio/light/Kconfig

index e6198b7c9cbfcf55a04b12049ccedbf3800e9b83..df995a42d5f3f3a00a3dfd36eb2c7d9e12470d6a 100644 (file)
@@ -201,6 +201,7 @@ config LTR501
 config STK3310
        tristate "STK3310 ALS and proximity sensor"
        depends on I2C
 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
        help
         Say yes here to get support for the Sensortek STK3310 ambient light
         and proximity sensor. The STK3311 model is also supported by this