diff options
author | Roberta Dobrescu <roberta.dobrescu@gmail.com> | 2015-02-12 23:00:15 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-02-14 11:28:48 +0000 |
commit | 8c3b3efb32e0fc5dc3c0a81c7f7639a14bebdb78 (patch) | |
tree | c83844bb41c1d7cab250e2bea0275c7033e8208c | |
parent | da019f59cb16570e78feaf10380ac65a3a06861e (diff) | |
download | blackbird-op-linux-8c3b3efb32e0fc5dc3c0a81c7f7639a14bebdb78.tar.gz blackbird-op-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>
-rw-r--r-- | drivers/iio/light/Kconfig | 1 |
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 |