aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2015-02-12 16:00:15 -0500
committerJonathan Cameron <jic23@kernel.org>2015-02-14 06:28:48 -0500
commit8c3b3efb32e0fc5dc3c0a81c7f7639a14bebdb78 (patch)
treec83844bb41c1d7cab250e2bea0275c7033e8208c
parentda019f59cb16570e78feaf10380ac65a3a06861e (diff)
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>
-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
62config GP2AP020A00F 62config GP2AP020A00F
63 tristate "Sharp GP2AP020A00F Proximity/ALS sensor" 63 tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
64 depends on I2C 64 depends on I2C
65 select REGMAP_I2C
65 select IIO_BUFFER 66 select IIO_BUFFER
66 select IIO_TRIGGERED_BUFFER 67 select IIO_TRIGGERED_BUFFER
67 select IRQ_WORK 68 select IRQ_WORK