On Thu, Feb 12, 2015 at 11:00 PM, Roberta Dobrescu <roberta.dobrescu@xxxxxxxxx> wrote: > 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@xxxxxxxxx> Reviewed-by: Daniel Baluta <daniel.baluta@xxxxxxxxx> > --- > drivers/iio/light/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig > index ae68c64..e0ed374 100644 > --- a/drivers/iio/light/Kconfig > +++ b/drivers/iio/light/Kconfig > @@ -126,6 +126,7 @@ config HID_SENSOR_PROX > config JSA1212 > tristate "JSA1212 ALS and proximity sensor driver" > depends on I2C > + select REGMAP_I2C > help > Say Y here if you want to build a IIO driver for JSA1212 > proximity & ALS sensor device. > -- > 1.9.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html