From: Roberta Dobrescu Date: Thu, 12 Feb 2015 21:00:15 +0000 (+0200) Subject: iio: light: gp2ap020a00f: Select REGMAP_I2C X-Git-Tag: v4.0-rc3~4^2~4^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8c3b3efb32e0fc5dc3c0a81c7f7639a14bebdb78;p=karo-tx-linux.git 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 Reviewed-by: Daniel Baluta Signed-off-by: Jonathan Cameron --- 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