]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iio: light: jsa1212: Select REGMAP_I2C
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Thu, 12 Feb 2015 21:00:14 +0000 (23:00 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 14 Feb 2015 11:26:06 +0000 (11:26 +0000)
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@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/Kconfig

index ae68c64bdad3ef7480d15da5d1187c1fd4f7ba4f..e0ed374b33fd83d9a981c6aa52c36316e6b2bf4c 100644 (file)
@@ -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.