summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/Kconfig
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2015-02-12 22:00:15 +0100
committerJonathan Cameron <jic23@kernel.org>2015-02-14 12:28:48 +0100
commit8c3b3efb32e0fc5dc3c0a81c7f7639a14bebdb78 (patch)
treec83844bb41c1d7cab250e2bea0275c7033e8208c /drivers/iio/light/Kconfig
parentiio: ad5686: fix optional reference voltage declaration (diff)
downloadlinux-8c3b3efb32e0fc5dc3c0a81c7f7639a14bebdb78.tar.xz
linux-8c3b3efb32e0fc5dc3c0a81c7f7639a14bebdb78.zip
iio: light: gp2ap020a00f: Select REGMAP_I2C
This patch adds missing 'select' statement for gp2ap020a00f 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/light/Kconfig')
-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 5bea821adcae..a338089f8077 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -62,6 +62,7 @@ config CM36651
config GP2AP020A00F
tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
depends on I2C
+ select REGMAP_I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
select IRQ_WORK