Browse Source

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>
Hartmut Knaack 10 years ago
parent
commit
53c8eccb71
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/iio/light/Kconfig

+ 1 - 0
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