aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2015-02-12 16:00:14 -0500
committerJonathan Cameron <jic23@kernel.org>2015-02-14 06:26:06 -0500
commit49e19d5f27aaa004692a2080453b9cc4d4fb6ec4 (patch)
tree9f91909a2f327d3cf559547426c6ec8d948c2663 /drivers/iio
parent533e80b1ea709577ec5cf73b8b566569bc711259 (diff)
iio: light: jsa1212: Select REGMAP_I2C
This patch adds missing 'select' statement for jsa1212 driver. Without regmap_i2c, we get the following error when loading the module: Unknown symbol devm_regmap_init_i2c. Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-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 ae68c64bdad3..e0ed374b33fd 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -126,6 +126,7 @@ config HID_SENSOR_PROX
126config JSA1212 126config JSA1212
127 tristate "JSA1212 ALS and proximity sensor driver" 127 tristate "JSA1212 ALS and proximity sensor driver"
128 depends on I2C 128 depends on I2C
129 select REGMAP_I2C
129 help 130 help
130 Say Y here if you want to build a IIO driver for JSA1212 131 Say Y here if you want to build a IIO driver for JSA1212
131 proximity & ALS sensor device. 132 proximity & ALS sensor device.