mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
iio: light: jsa1212: Select REGMAP_I2C
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 <[email protected]> Reviewed-by: Daniel Baluta <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
533e80b1ea
commit
49e19d5f27
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue